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 | |
---|---|---|
AgentApplication | Infrastructure. | |
AgentCore | Implements the core functionality for managed replication agents. | |
AlternateSynchronizationPartner | Represents an alternate Publisher to which a subscription can be synchronized if the primary Publisher is not available. | |
ComErrorException | The exception that is thrown when a general error is raised by a replication agent. | |
ComErrorRecord | Represents information for an error generated by a replication agent. | |
ConnectionFailureException | The exception that is thrown when a database connection fails when a replication agent is running. | |
FciException | The exception that is thrown when an error occurs in the File Compression Interface (FCI). | |
MergeSynchronizationAgent | Provides the functionality of the Replication Merge Agent. | |
NativeSqlConnectionException | The exception that is thrown when an error is raised by an ODBC driver or an OLEDB provider during bulk copy operations. | |
OciException | The exception that is thrown when an error is raised by the Oracle Call Interface (OCI). | |
OSException | The exception that is thrown when an error is raised by the operating system during a File Compression Interface (FCI) operation. | |
ParameterValueOutOfRangeException | The exception that is thrown if a value passed to a parameter is out of range for the data type of the parameter. | |
PasswordWriteOnlyException | The exception that is thrown when a replication agent password property is accessed. | |
ReplicationAgentContainerException | The exception that is thrown when one or more errors are generated by a managed code-based replication agent. | |
ReplicationAgentContainerWithWatsonException | Infrastructure. | |
ReplicationAgentException | The base exception class for exceptions generated during replication agent execution. | |
ResourceStrings | Infrastructure. | |
SnapshotGenerationAgent | Provides the functionality of the Replication Snapshot Agent. | |
StatusEventArgs | Represents status information returned by a replication agent when the Status event occurs. | |
TransSynchronizationAgent | Provides the functionality of the Replication Distribution Agent. |
Interfaces
Interface | Description | |
---|---|---|
IAlternateSynchronizationPartner | Provides an implementation of the AlternateSynchronizationPartner class for late-bound COM clients. | |
IComErrorRecord | Provides an implementation of the ComErrorRecord class for late-bound COM clients. | |
IComStatusEvent | Infrastructure. | |
IMergeSynchronizationAgent | Provides an implementation of the MergeSynchronizationAgent class for late-bound COM clients. | |
ISnapshotGenerationAgent | Provides an implementation of the SnapshotGenerationAgent class for late-bound COM clients. | |
IStatusEventData | Infrastructure. | |
ITransSynchronizationAgent | Provides an implementation of the TransSynchronizationAgent class for late-bound COM clients. |
Délégués
Délégué | Description | |
---|---|---|
AgentCore. . :: . .StatusEventHandler | Delegate that handles the Status event that is raised during agent execution. |
Énumérations
Énumération | Description | |
---|---|---|
AbortPolicy | Enumerates the options for how running replication agent threads are terminated when an unanticipated shutdown occurs. | |
DataSourceType | Enumerates the data sources supported as replication Subscribers. | |
DeadlockPriority | Enumerates the priorities used to resolve deadlocks that occur during snapshot generation. | |
FileTransferOption | Enumerates the options for obtaining snapshot files. | |
MergeExchangeType | Enumerates options for how the Merge Agent synchronizes data. | |
MessageStatus | Enumerates replication agent status codes. | |
NetworkType | Enumerates the supported Net-Libraries used by a replication agent when connecting to a replication server. | |
ReplicationType | Enumerates the type of publication for which a snapshot is generated. | |
SecurityMode | Enumerates the type of authentication to use when a replication agent connects to a server in a replication topology. | |
SubscriptionOption | Enumerates the type of subscription. | |
ValidateType | Enumerates the types of validation that are performed during synchronization. |