This topic has not yet been rated - Rate this topic

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.

  Name Description
Public method ReplicationConnection(DirectoryContext, String, DirectoryServer) Initializes a new instance of the ReplicationConnection class, using the specified context, name, and source server.
Public method ReplicationConnection(DirectoryContext, String, DirectoryServer, ActiveDirectorySchedule) Initializes a new instance of the ReplicationConnection class, using the specified context, name, source server, and schedule.
Public method ReplicationConnection(DirectoryContext, String, DirectoryServer, ActiveDirectoryTransportType) Initializes a new instance of the ReplicationConnection class, using the specified context, name, source server, and transport type.
Public method ReplicationConnection(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
  Name Description
Public property ChangeNotificationStatus Gets or sets the change notification status of this replication connection.
Public property DataCompressionEnabled Gets or sets a value indicating whether this replication connection compresses data.
Public property DestinationServer Gets the DNS name of the server that is the destination of this replication connection.
Public property Enabled Gets or sets a value indicating whether this replication connection is enabled.
Public property GeneratedByKcc Gets or sets a value indicating whether this replication connection was generated by the knowledge consistency checker (KCC).
Public property Name Gets the name of this replication connection.
Public property ReciprocalReplicationEnabled Gets or sets a value indicating whether this replication connection supports reciprocal replication.
Public property ReplicationSchedule Gets or sets the schedule on which the source server is available for replication.
Public property ReplicationScheduleOwnedByUser Gets or sets a value indicating whether the replication schedule is owned by the user.
Public property ReplicationSpan Gets the span of this replication connection.
Public property SourceServer Gets the DNS name of the server that is the source of this replication connection.
Public property TransportType Gets the type of transport that is used by this replication connection.
Top
  Name Description
Public method Delete Deletes this replication connection.
Public method Dispose() Releases the unmanaged and managed resources held by the object.
Protected method Dispose(Boolean) Releases the unmanaged and, optionally, the managed resources, held by the object.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Overrides the Object.Finalize method. (Overrides Object.Finalize().)
Public method Static member FindByName Retrieves the ReplicationConnection object that matches the specified target context and name.
Public method GetDirectoryEntry Retrieves a DirectoryEntry object that represents the replication connection.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Save 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.
Public method ToString Retrieves 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, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ