Export (0) Print
Expand All

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.

  NameDescription
Public methodActiveDirectorySiteLink(DirectoryContext, String)Initializes a new instance of the ActiveDirectorySiteLink class using the specified DirectoryContext object and name.
Public methodActiveDirectorySiteLink(DirectoryContext, String, ActiveDirectoryTransportType)Initializes a new instance of the ActiveDirectorySiteLink class using the specified DirectoryContext object, name, and transport type.
Public methodActiveDirectorySiteLink(DirectoryContext, String, ActiveDirectoryTransportType, ActiveDirectorySchedule)Initializes a new instance of the ActiveDirectorySiteLink class using the specified DirectoryContext object, name, transport type, and replication schedule.
Top

  NameDescription
Public propertyCostGets or sets the site link cost.
Public propertyDataCompressionEnabledGets or sets the data compression mode of the site link.
Public propertyInterSiteReplicationScheduleGets or sets the ActiveDirectorySchedule object for the current site link object.
Public propertyNameGets the name of the site link.
Public propertyNotificationEnabledGets or sets a value indicating whether notifications are enabled.
Public propertyReciprocalReplicationEnabledGets or sets the mode for reciprocal replication between sites.
Public propertyReplicationIntervalGets or sets the replication interval between sites.
Public propertySitesGets a read/write collection of sites that this site link contains.
Public propertyTransportTypeGets the transport type of the site link.
Top

  NameDescription
Public methodDeleteDeletes the current site link.
Public methodDispose()Releases all resources used by the object.
Protected methodDispose(Boolean)Releases the unmanaged resources used by the object and optionally releases the managed resources.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodStatic memberFindByName(DirectoryContext, String)Returns a site link based on a site link name.
Public methodStatic memberFindByName(DirectoryContext, String, ActiveDirectoryTransportType)Returns a site link based on a site link name and transport.
Public methodGetDirectoryEntryGets the DirectoryEntry for this object.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSaveWrites any changes to the object to the Active Directory Domain Services store.
Public methodToStringReturns the site link name. (Overrides Object.ToString().)
Top

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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.
Show:
© 2014 Microsoft