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.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
| Name | Description | |
|---|---|---|
![]() | ActiveDirectorySiteLink(DirectoryContext^, String^) | Initializes a new instance of the ActiveDirectorySiteLink class using the specified DirectoryContext object and name. |
![]() | ActiveDirectorySiteLink(DirectoryContext^, String^, ActiveDirectoryTransportType) | Initializes a new instance of the ActiveDirectorySiteLink class using the specified DirectoryContext object, name, and transport type. |
![]() | ActiveDirectorySiteLink(DirectoryContext^, String^, ActiveDirectoryTransportType, ActiveDirectorySchedule^) | Initializes a new instance of the ActiveDirectorySiteLink class using the specified DirectoryContext object, name, transport type, and replication schedule. |
| Name | Description | |
|---|---|---|
![]() | Cost | Gets or sets the site link cost. |
![]() | DataCompressionEnabled | Gets or sets the data compression mode of the site link. |
![]() | InterSiteReplicationSchedule | Gets or sets the ActiveDirectorySchedule object for the current site link object. |
![]() | Name | Gets the name of the site link. |
![]() | NotificationEnabled | Gets or sets a value indicating whether notifications are enabled. |
![]() | ReciprocalReplicationEnabled | Gets or sets the mode for reciprocal replication between sites. |
![]() | ReplicationInterval | Gets or sets the replication interval between sites. |
![]() | Sites | Gets a read/write collection of sites that this site link contains. |
![]() | TransportType | Gets the transport type of the site link. |
| Name | Description | |
|---|---|---|
![]() | Delete() | Deletes the current site link. |
![]() | Dispose() | Releases all resources used by the object. |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the object and optionally releases the managed resources. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() ![]() | FindByName(DirectoryContext^, String^) | Returns a site link based on a site link name. |
![]() ![]() | FindByName(DirectoryContext^, String^, ActiveDirectoryTransportType) | Returns a site link based on a site link name and transport. |
![]() | GetDirectoryEntry() | Gets the DirectoryEntry for this object. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | Save() | Writes any changes to the object to the Active Directory Domain Services store. |
![]() | ToString() | Returns the site link name.(Overrides Object::ToString().) |
Demand value: LinkDemand
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



