ReplicationConnection ReplicationConnection ReplicationConnection ReplicationConnection Class

Definition

The ReplicationConnection class represents a replication connection.

public ref class ReplicationConnection : IDisposable
public class ReplicationConnection : IDisposable
type ReplicationConnection = class
    interface IDisposable
Public Class ReplicationConnection
Implements IDisposable
Inheritance
ReplicationConnectionReplicationConnectionReplicationConnectionReplicationConnection
Implements

Remarks

In Active Directory Domain Services, a replication connection is represented by an NTDS-Connection object. For more information, see the NTDS-Connection.

Constructors

ReplicationConnection(DirectoryContext, String, DirectoryServer) ReplicationConnection(DirectoryContext, String, DirectoryServer) ReplicationConnection(DirectoryContext, String, DirectoryServer) 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) ReplicationConnection(DirectoryContext, String, DirectoryServer, ActiveDirectorySchedule) ReplicationConnection(DirectoryContext, String, DirectoryServer, ActiveDirectorySchedule) 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, ActiveDirectorySchedule, ActiveDirectoryTransportType) ReplicationConnection(DirectoryContext, String, DirectoryServer, ActiveDirectorySchedule, ActiveDirectoryTransportType) ReplicationConnection(DirectoryContext, String, DirectoryServer, ActiveDirectorySchedule, ActiveDirectoryTransportType) 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.

ReplicationConnection(DirectoryContext, String, DirectoryServer, ActiveDirectoryTransportType) ReplicationConnection(DirectoryContext, String, DirectoryServer, ActiveDirectoryTransportType) ReplicationConnection(DirectoryContext, String, DirectoryServer, ActiveDirectoryTransportType) ReplicationConnection(DirectoryContext, String, DirectoryServer, ActiveDirectoryTransportType)

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

Properties

ChangeNotificationStatus ChangeNotificationStatus ChangeNotificationStatus ChangeNotificationStatus

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

DataCompressionEnabled DataCompressionEnabled DataCompressionEnabled DataCompressionEnabled

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

DestinationServer DestinationServer DestinationServer DestinationServer

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

Enabled Enabled Enabled Enabled

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

GeneratedByKcc GeneratedByKcc GeneratedByKcc GeneratedByKcc

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

Name Name Name Name

Gets the name of this replication connection.

ReciprocalReplicationEnabled ReciprocalReplicationEnabled ReciprocalReplicationEnabled ReciprocalReplicationEnabled

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

ReplicationSchedule ReplicationSchedule ReplicationSchedule ReplicationSchedule

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

ReplicationScheduleOwnedByUser ReplicationScheduleOwnedByUser ReplicationScheduleOwnedByUser ReplicationScheduleOwnedByUser

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

ReplicationSpan ReplicationSpan ReplicationSpan ReplicationSpan

Gets the span of this replication connection.

SourceServer SourceServer SourceServer SourceServer

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

TransportType TransportType TransportType TransportType

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

Methods

Delete() Delete() Delete() Delete()

Deletes this replication connection.

Dispose() Dispose() Dispose() Dispose()

Releases the unmanaged and managed resources held by the object.

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Finalize() Finalize() Finalize() Finalize()

Overrides the Finalize() method.

FindByName(DirectoryContext, String) FindByName(DirectoryContext, String) FindByName(DirectoryContext, String) FindByName(DirectoryContext, String)

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

GetDirectoryEntry() GetDirectoryEntry() GetDirectoryEntry() GetDirectoryEntry()

Retrieves a DirectoryEntry object that represents the replication connection.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Save() Save() Save() 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() ToString() ToString() ToString()

Retrieves the name of the replication connection.

Security

DirectoryServicesPermission
Demand value: LinkDemand

Applies to