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



