Поделиться через


Пространство имен 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.