Microsoft.SqlServer.Replication
TOC
Collapse the table of content
Expand the table of content

Microsoft.SqlServer.Replication Namespace

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 Replication Programming Concepts.

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

  Interface Description
Public interface IAlternateSynchronizationPartner Provides an implementation of the AlternateSynchronizationPartner class for late-bound COM clients.
Public interface IComErrorRecord Provides an implementation of the ComErrorRecord class for late-bound COM clients.
Public interface IComStatusEvent Infrastructure. Provides an interface that handles the Status event that is raised during agent execution.
Public interface IMergeSynchronizationAgent Provides an implementation of the MergeSynchronizationAgent class for late-bound COM clients.
Public interface ISnapshotGenerationAgent Provides an implementation of the SnapshotGenerationAgent class for late-bound COM clients.
Public interface IStatusEventData Infrastructure. Represents an interface for the status event data.
Public interface ITransSynchronizationAgent Provides an implementation of the TransSynchronizationAgent class for late-bound COM clients.

  Delegate Description
Public delegate AgentCore.StatusEventHandler Delegate that handles the Status event that is raised during agent execution.

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

Community Additions

ADD
Show:
© 2016 Microsoft