Partager via


Espace de noms Microsoft.SqlServer.Replication

This assembly provides managed access to replication agent functionalities.

The MergeSynchronizationAgent, TransSynchronizationAgent, and SnapshotGenerationAgent classes represent the functionality of the Merge Agent, Distribution Agent, and Snapshot Agent respectively. Use these classes to synchronously start these replication agents from a managed code application. For more information, see Concepts de programmation en matière de réplication.

Classes

  Classe Description
Classe publique AgentApplication Infrastructure.
Classe publique AgentCore Implements the core functionality for managed replication agents.
Classe publique AlternateSynchronizationPartner Represents an alternate Publisher to which a subscription can be synchronized if the primary Publisher is not available.
Classe publique ComErrorException The exception that is thrown when a general error is raised by a replication agent.
Classe publique ComErrorRecord Represents information for an error generated by a replication agent.
Classe publique ConnectionFailureException The exception that is thrown when a database connection fails when a replication agent is running.
Classe publique FciException The exception that is thrown when an error occurs in the File Compression Interface (FCI).
Classe publique MergeSynchronizationAgent Provides the functionality of the Replication Merge Agent.
Classe publique NativeSqlConnectionException The exception that is thrown when an error is raised by an ODBC driver or an OLEDB provider during bulk copy operations.
Classe publique OciException The exception that is thrown when an error is raised by the Oracle Call Interface (OCI).
Classe publique OSException The exception that is thrown when an error is raised by the operating system during a File Compression Interface (FCI) operation.
Classe publique ParameterValueOutOfRangeException The exception that is thrown if a value passed to a parameter is out of range for the data type of the parameter.
Classe publique PasswordWriteOnlyException The exception that is thrown when a replication agent password property is accessed.
Classe publique ReplicationAgentContainerException The exception that is thrown when one or more errors are generated by a managed code-based replication agent.
Classe publique ReplicationAgentContainerWithWatsonException Infrastructure.
Classe publique ReplicationAgentException The base exception class for exceptions generated during replication agent execution.
Classe publique ResourceStrings Infrastructure.
Classe publique SnapshotGenerationAgent Provides the functionality of the Replication Snapshot Agent.
Classe publique StatusEventArgs Represents status information returned by a replication agent when the Status event occurs.
Classe publique TransSynchronizationAgent Provides the functionality of the Replication Distribution Agent.

Interfaces

  Interface Description
Interface publique IAlternateSynchronizationPartner Provides an implementation of the AlternateSynchronizationPartner class for late-bound COM clients.
Interface publique IComErrorRecord Provides an implementation of the ComErrorRecord class for late-bound COM clients.
Interface publique IComStatusEvent Infrastructure.
Interface publique IMergeSynchronizationAgent Provides an implementation of the MergeSynchronizationAgent class for late-bound COM clients.
Interface publique ISnapshotGenerationAgent Provides an implementation of the SnapshotGenerationAgent class for late-bound COM clients.
Interface publique IStatusEventData Infrastructure.
Interface publique ITransSynchronizationAgent Provides an implementation of the TransSynchronizationAgent class for late-bound COM clients.

Délégués

  Délégué Description
Délégué public AgentCore. . :: . .StatusEventHandler Delegate that handles the Status event that is raised during agent execution.

Énumérations

  Énumération Description
Énumération publique AbortPolicy Enumerates the options for how running replication agent threads are terminated when an unanticipated shutdown occurs.
Énumération publique DataSourceType Enumerates the data sources supported as replication Subscribers.
Énumération publique DeadlockPriority Enumerates the priorities used to resolve deadlocks that occur during snapshot generation.
Énumération publique FileTransferOption Enumerates the options for obtaining snapshot files.
Énumération publique MergeExchangeType Enumerates options for how the Merge Agent synchronizes data.
Énumération publique MessageStatus Enumerates replication agent status codes.
Énumération publique NetworkType Enumerates the supported Net-Libraries used by a replication agent when connecting to a replication server.
Énumération publique ReplicationType Enumerates the type of publication for which a snapshot is generated.
Énumération publique SecurityMode Enumerates the type of authentication to use when a replication agent connects to a server in a replication topology.
Énumération publique SubscriptionOption Enumerates the type of subscription.
Énumération publique ValidateType Enumerates the types of validation that are performed during synchronization.