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 複寫程式設計概念.

類別

  類別 說明
公用類別 AgentApplication 基礎結構。
公用類別 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 基礎結構。
公用類別 ReplicationAgentException The base exception class for exceptions generated during replication agent execution.
公用類別 ResourceStrings 基礎結構。
公用類別 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.

介面

  介面 說明
公用介面 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 基礎結構。
公用介面 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 基礎結構。
公用介面 ITransSynchronizationAgent Provides an implementation of the TransSynchronizationAgent class for late-bound COM clients.

委派

  委派 說明
公用委派 AgentCore. . :: . .StatusEventHandler Delegate that handles the Status event that is raised during agent execution.

列舉

  列舉 說明
公用列舉 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.