ReplicationConnection Class

The ReplicationConnection class represents a replication connection.

System.Object
  System.DirectoryServices.ActiveDirectory.ReplicationConnection

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

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

The ReplicationConnection type exposes the following members.

  NameDescription
Public methodReplicationConnection(DirectoryContext, String, DirectoryServer)Initializes a new instance of the ReplicationConnection class, using the specified context, name, and source server.
Public methodReplicationConnection(DirectoryContext, String, DirectoryServer, ActiveDirectorySchedule)Initializes a new instance of the ReplicationConnection class, using the specified context, name, source server, and schedule.
Public methodReplicationConnection(DirectoryContext, String, DirectoryServer, ActiveDirectoryTransportType)Initializes a new instance of the ReplicationConnection class, using the specified context, name, source server, and transport type.
Public methodReplicationConnection(DirectoryContext, String, DirectoryServer, ActiveDirectorySchedule, ActiveDirectoryTransportType)Initializes a new instance of the ReplicationConnection class, using the specified context, name, source server, schedule, and transport type.
Top

  NameDescription
Public propertyChangeNotificationStatusGets or sets the change notification status of this replication connection.
Public propertyDataCompressionEnabledGets or sets a value indicating whether this replication connection compresses data.
Public propertyDestinationServerGets the DNS name of the server that is the destination of this replication connection.
Public propertyEnabledGets or sets a value indicating whether this replication connection is enabled.
Public propertyGeneratedByKccGets or sets a value indicating whether this replication connection was generated by the knowledge consistency checker (KCC).
Public propertyNameGets the name of this replication connection.
Public propertyReciprocalReplicationEnabledGets or sets a value indicating whether this replication connection supports reciprocal replication.
Public propertyReplicationScheduleGets or sets the schedule on which the source server is available for replication.
Public propertyReplicationScheduleOwnedByUserGets or sets a value indicating whether the replication schedule is owned by the user.
Public propertyReplicationSpanGets the span of this replication connection.
Public propertySourceServerGets the DNS name of the server that is the source of this replication connection.
Public propertyTransportTypeGets the type of transport that is used by this replication connection.
Top

  NameDescription
Public methodDeleteDeletes this replication connection.
Public methodDispose()Releases the unmanaged and managed resources held by the object.
Protected methodDispose(Boolean)Releases the unmanaged and, optionally, the managed resources, held by the object.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeOverrides the Object.Finalize method. (Overrides Object.Finalize().)
Public methodStatic memberFindByNameRetrieves the ReplicationConnection object that matches the specified target context and name.
Public methodGetDirectoryEntryRetrieves a DirectoryEntry object that represents the replication connection.
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 methodSaveCommits the replication connection to the server. The replication connection object does not actually exist in Active Directory Domain Services until this method is called.
Public methodToStringRetrieves the name of the replication connection. (Overrides Object.ToString().)
Top

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

Supported in: 4.6, 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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft