ReplicationConnection 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 ReplicationConnection class represents a replication connection.

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

System.Object
  System.DirectoryServices.ActiveDirectory.ReplicationConnection

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

NameDescription
System_CAPS_pubmethodReplicationConnection(DirectoryContext, String, DirectoryServer)

Initializes a new instance of the ReplicationConnection class, using the specified context, name, and source server.

System_CAPS_pubmethodReplicationConnection(DirectoryContext, String, DirectoryServer, ActiveDirectorySchedule)

Initializes a new instance of the ReplicationConnection class, using the specified context, name, source server, and schedule.

System_CAPS_pubmethodReplicationConnection(DirectoryContext, String, DirectoryServer, ActiveDirectorySchedule, ActiveDirectoryTransportType)

Initializes a new instance of the ReplicationConnection class, using the specified context, name, source server, schedule, and transport type.

System_CAPS_pubmethodReplicationConnection(DirectoryContext, String, DirectoryServer, ActiveDirectoryTransportType)

Initializes a new instance of the ReplicationConnection class, using the specified context, name, source server, and transport type.

NameDescription
System_CAPS_pubpropertyChangeNotificationStatus

Gets or sets the change notification status of this replication connection.

System_CAPS_pubpropertyDataCompressionEnabled

Gets or sets a value indicating whether this replication connection compresses data.

System_CAPS_pubpropertyDestinationServer

Gets the DNS name of the server that is the destination of this replication connection.

System_CAPS_pubpropertyEnabled

Gets or sets a value indicating whether this replication connection is enabled.

System_CAPS_pubpropertyGeneratedByKcc

Gets or sets a value indicating whether this replication connection was generated by the knowledge consistency checker (KCC).

System_CAPS_pubpropertyName

Gets the name of this replication connection.

System_CAPS_pubpropertyReciprocalReplicationEnabled

Gets or sets a value indicating whether this replication connection supports reciprocal replication.

System_CAPS_pubpropertyReplicationSchedule

Gets or sets the schedule on which the source server is available for replication.

System_CAPS_pubpropertyReplicationScheduleOwnedByUser

Gets or sets a value indicating whether the replication schedule is owned by the user.

System_CAPS_pubpropertyReplicationSpan

Gets the span of this replication connection.

System_CAPS_pubpropertySourceServer

Gets the DNS name of the server that is the source of this replication connection.

System_CAPS_pubpropertyTransportType

Gets the type of transport that is used by this replication connection.

NameDescription
System_CAPS_pubmethodDelete()

Deletes this replication connection.

System_CAPS_pubmethodDispose()

Releases the unmanaged and managed resources held by the object.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged and, optionally, the managed resources, held by the object.

System_CAPS_pubmethodEquals(Object)

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

System_CAPS_protmethodFinalize()

Overrides the Object.Finalize method.(Overrides Object.Finalize().)

System_CAPS_pubmethodSystem_CAPS_staticFindByName(DirectoryContext, String)

Retrieves the ReplicationConnection object that matches the specified target context and name.

System_CAPS_pubmethodGetDirectoryEntry()

Retrieves a DirectoryEntry object that represents the replication connection.

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()

Commits the replication connection to the server. The replication connection object does not actually exist in Active Directory Domain Services until this method is called.

System_CAPS_pubmethodToString()

Retrieves the name of the replication connection.(Overrides Object.ToString().)

In Active Directory Domain Services, a replication connection is represented by an NTDS-Connection object. For more information, see the "NTDS-Connection" topic in the MSDN Library at http://msdn.microsoft.com/library.

.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: