0 out of 1 rated this helpful - Rate this topic

ActiveDirectorySiteLink Class

The ActiveDirectorySiteLink class represents a set of two or more sites that can be scheduled, for replication, to communicate at uniform cost and through a particular transport.

System.Object
  System.DirectoryServices.ActiveDirectory.ActiveDirectorySiteLink

Namespace:  System.DirectoryServices.ActiveDirectory
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)
[DirectoryServicesPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)]
public class ActiveDirectorySiteLink : IDisposable

The ActiveDirectorySiteLink type exposes the following members.

  Name Description
Public method ActiveDirectorySiteLink(DirectoryContext, String) Initializes a new instance of the ActiveDirectorySiteLink class using the specified DirectoryContext object and name.
Public method ActiveDirectorySiteLink(DirectoryContext, String, ActiveDirectoryTransportType) Initializes a new instance of the ActiveDirectorySiteLink class using the specified DirectoryContext object, name, and transport type.
Public method ActiveDirectorySiteLink(DirectoryContext, String, ActiveDirectoryTransportType, ActiveDirectorySchedule) Initializes a new instance of the ActiveDirectorySiteLink class using the specified DirectoryContext object, name, transport type, and replication schedule.
Top
  Name Description
Public property Cost Gets or sets the site link cost.
Public property DataCompressionEnabled Gets or sets the data compression mode of the site link.
Public property InterSiteReplicationSchedule Gets or sets the ActiveDirectorySchedule object for the current site link object.
Public property Name Gets the name of the site link.
Public property NotificationEnabled Gets or sets a value indicating whether notifications are enabled.
Public property ReciprocalReplicationEnabled Gets or sets the mode for reciprocal replication between sites.
Public property ReplicationInterval Gets or sets the replication interval between sites.
Public property Sites Gets a read/write collection of sites that this site link contains.
Public property TransportType Gets the transport type of the site link.
Top
  Name Description
Public method Delete Deletes the current site link.
Public method Dispose() Releases all resources used by the object.
Protected method Dispose(Boolean) Releases the unmanaged resources used by the object and optionally releases the managed resources.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member FindByName(DirectoryContext, String) Returns a site link based on a site link name.
Public method Static member FindByName(DirectoryContext, String, ActiveDirectoryTransportType) Returns a site link based on a site link name and transport.
Public method GetDirectoryEntry Gets the DirectoryEntry for this object.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Save Writes any changes to the object to the Active Directory Domain Services store.
Public method ToString Returns the site link name. (Overrides Object.ToString().)
Top

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ