ActiveDirectorySiteLink Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public ref class ActiveDirectorySiteLink : IDisposable
public class ActiveDirectorySiteLink : IDisposable
type ActiveDirectorySiteLink = class
interface IDisposable
Public Class ActiveDirectorySiteLink
Implements IDisposable
- Inheritance
-
ActiveDirectorySiteLink
- Implements
Constructors
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. |
Properties
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. |
Methods
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) |
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() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
Save() |
Writes any changes to the object to the Active Directory Domain Services store. |
ToString() |
Returns the site link name. |