ActiveDirectorySiteLink Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

Namespace:   System.DirectoryServices.ActiveDirectory
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

System.Object
  System.DirectoryServices.ActiveDirectory.ActiveDirectorySiteLink

[DirectoryServicesPermissionAttribute(SecurityAction.LinkDemand, 
	Unrestricted = true)]
public class ActiveDirectorySiteLink : IDisposable

NameDescription
System_CAPS_pubmethodActiveDirectorySiteLink(DirectoryContext, String)

Initializes a new instance of the ActiveDirectorySiteLink class using the specified DirectoryContext object and name.

System_CAPS_pubmethodActiveDirectorySiteLink(DirectoryContext, String, ActiveDirectoryTransportType)

Initializes a new instance of the ActiveDirectorySiteLink class using the specified DirectoryContext object, name, and transport type.

System_CAPS_pubmethodActiveDirectorySiteLink(DirectoryContext, String, ActiveDirectoryTransportType, ActiveDirectorySchedule)

Initializes a new instance of the ActiveDirectorySiteLink class using the specified DirectoryContext object, name, transport type, and replication schedule.

NameDescription
System_CAPS_pubpropertyCost

Gets or sets the site link cost.

System_CAPS_pubpropertyDataCompressionEnabled

Gets or sets the data compression mode of the site link.

System_CAPS_pubpropertyInterSiteReplicationSchedule

Gets or sets the ActiveDirectorySchedule object for the current site link object.

System_CAPS_pubpropertyName

Gets the name of the site link.

System_CAPS_pubpropertyNotificationEnabled

Gets or sets a value indicating whether notifications are enabled.

System_CAPS_pubpropertyReciprocalReplicationEnabled

Gets or sets the mode for reciprocal replication between sites.

System_CAPS_pubpropertyReplicationInterval

Gets or sets the replication interval between sites.

System_CAPS_pubpropertySites

Gets a read/write collection of sites that this site link contains.

System_CAPS_pubpropertyTransportType

Gets the transport type of the site link.

NameDescription
System_CAPS_pubmethodDelete()

Deletes the current site link.

System_CAPS_pubmethodDispose()

Releases all resources used by the object.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the object and optionally releases the managed resources.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticFindByName(DirectoryContext, String)

Returns a site link based on a site link name.

System_CAPS_pubmethodSystem_CAPS_staticFindByName(DirectoryContext, String, ActiveDirectoryTransportType)

Returns a site link based on a site link name and transport.

System_CAPS_pubmethodGetDirectoryEntry()

Gets the DirectoryEntry for this object.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSave()

Writes any changes to the object to the Active Directory Domain Services store.

System_CAPS_pubmethodToString()

Returns the site link name.(Overrides Object.ToString().)

.NET Framework
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.

Return to top
Show: