Spazio dei nomi 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 Concetti di base relativi alla programmazione della replica.

Classi

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

Interfacce

  Interfaccia Descrizione
Interfaccia pubblica IAlternateSynchronizationPartner Provides an implementation of the AlternateSynchronizationPartner class for late-bound COM clients.
Interfaccia pubblica IComErrorRecord Provides an implementation of the ComErrorRecord class for late-bound COM clients.
Interfaccia pubblica IComStatusEvent Infrastruttura.
Interfaccia pubblica IMergeSynchronizationAgent Provides an implementation of the MergeSynchronizationAgent class for late-bound COM clients.
Interfaccia pubblica ISnapshotGenerationAgent Provides an implementation of the SnapshotGenerationAgent class for late-bound COM clients.
Interfaccia pubblica IStatusEventData Infrastruttura.
Interfaccia pubblica ITransSynchronizationAgent Provides an implementation of the TransSynchronizationAgent class for late-bound COM clients.

Delegati

  Delegato Descrizione
Delegato pubblico AgentCore. . :: . .StatusEventHandler Delegate that handles the Status event that is raised during agent execution.

Enumerazioni

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