Editar

Compartir a través de


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
ReplicationConnection
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, 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, 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)

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

Properties

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.

Methods

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 Finalize() method.

FindByName(DirectoryContext, String)

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 the default hash function.

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

Applies to