共用方式為


Microsoft.SqlServer.Replication 命名空間

The Microsoft.SqlServer.Replication namespace implements the Replication Management Object (RMO) model. RMO provides programmatic access to Microsoft SQL Server replication from a managed code environment.

類別

  類別 說明
公用類別 AgentApplication 基礎結構。Represents the application of the replication agent.
公用類別 AgentCore Implements the core functionality for managed replication agents.
公用類別 AgentJobHistoryInfo Returns information about the results of the last run of a replication agent.
公用類別 AgentProfile Encapsulates all operations on replication agent profiles, such as creating, deleting, adding, and removing parameters, and assigning specific profiles to certain agents.
公用類別 AgentProfileParameter Represents parameters in a replication agent profile.
公用類別 AgentProfileParameterInfo Represents a supported parameter used in replication agent profiles.
公用類別 AlternateSynchronizationPartner Represents an alternate Publisher to which a subscription can be synchronized if the primary Publisher is not available.
公用類別 Article Represents the base class from which the TransArticle class and MergeArticle class are derived.
公用類別 ArticleConflict Represents information about a merge replication conflict table.
公用類別 BusinessLogicHandler Represents the server registration for the managed code assembly that implements a business logic handler.
公用類別 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.
公用類別 ConnectionSecurityContext Represents information you use when you connect to Microsoft SQL Server.
公用類別 CustomResolver Represents a COM-based resolver registration at a server in a merge replication topology.
公用類別 DistributionArticle Represents information about an article published in a transactional or snapshot publication stored at the Distributor.
公用類別 DistributionArticleCollection Represents a collection of DistributionArticle objects.
公用類別 DistributionDatabase Represents a distribution database at the Distributor.
公用類別 DistributionDatabaseCollection Represents a collection of DistributionDatabase objects.
公用類別 DistributionPublication Represents information about a transactional or snapshot publication stored at the Distributor.
公用類別 DistributionPublicationCollection Represents a collection of DistributionPublication objects.
公用類別 DistributionPublisher Represents information about a Publisher registered at the currently connected Distributor.
公用類別 DistributionPublisherCollection Represents a collection of DistributionPublisher objects.
公用類別 DistributionSubscription Represents information stored at the Distributor about a subscription to a transactional or snapshot publication.
公用類別 DistributionSubscriptionCollection Represents a collection of DistributionSubscription objects.
公用類別 FciException The exception that is thrown when an error occurs in the File Compression Interface (FCI).
公用類別 HeterogeneousColumn Represents a column contained in a table on a non-Microsoft SQL Server Publisher.
公用類別 HeterogeneousTable Represents a table on a non-Microsoft SQL Server Publisher.
公用類別 IdentityRangeInfo Structure that represents identity range management settings for a published article when the source table contains identity columns.
公用類別 LastValidationDateTime Used to return the date and time of the last merge subscription validation.
公用類別 LightPublication 基礎結構。Represents a light publication.
公用類別 MergeArticle Represents an article in a merge publication.
公用類別 MergeArticleCollection Represents a collection of MergeArticle objects.
公用類別 MergeConflictCount Represents conflict information for a table article in a merge publication.
公用類別 MergeDynamicSnapshotJob Contains information about the Snapshot Agent job that generates the data snapshot for a subscription to a merge publication with a parameterized row filter.
公用類別 MergeJoinFilter Represents a join filter or logical record relationship between to merge articles.
公用類別 MergePartition Represents information about a Subscriber's partition for a merge publication with a parameterized row filter.
公用類別 MergePublication Represents a merge publication.
公用類別 MergePublicationCollection Represents a collection of MergePublication objects.
公用類別 MergePullSubscription Represents a pull subscription to a merge publication.
公用類別 MergePullSubscriptionCollection Represents a collection of MergePullSubscription objects.
公用類別 MergeSessionDetail Represents detailed information about a step in a Merge Agent session.
公用類別 MergeSessionError Represents information on errors that occur during a Merge Agent session.
公用類別 MergeSessionSummary Represents Merge Agent session information.
公用類別 MergeSubscriberMonitor Enables Subscriber-side monitoring of subscriptions to merge publications.
公用類別 MergeSubscription Represents a subscription to a merge publication registered at the Publisher.
公用類別 MergeSubscriptionCollection Represents a collection of MergeSubscription objects.
公用類別 MergeSynchronizationAgent Provides the functionality of the Replication Merge Agent.
公用類別 MonitorThreshold Represents a threshold metric used when monitoring a publication.
公用類別 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.
公用類別 PendingCommandInfo Represents information on the number of pending commands for a subscription to a transactional publication and a rough estimate of how much time it takes to process them.
公用類別 Publication The Publication class is a base class from which the TransPublication class and the MergePublication class are derived.
公用類別 PublicationAccess Represents login information in the publication access list (PAL) for a publication.
公用類別 PublicationArticle Represents article information for a published database object.
公用類別 PublicationMonitor Monitors a publication.
公用類別 PublicationMonitorCollection A collection of PublicationMonitor objects that represents publications at the Distributor.
公用類別 PublisherConnectionSecurityContext Represents the login used when connecting to the instance of Microsoft SQL Server that is configured as a Publisher in a replication topology.
公用類別 PublisherMonitor Monitors a replication Publisher.
公用類別 PublisherMonitorCollection Represents a collection of PublisherMonitor objects.
公用類別 PullSubscription Represents information at the Publisher for a subscription to a merge or a transactional publication when the Synchronization Agent runs at the Subscriber. PullSubscription is a base class from which the TransPullSubscription class and the MergePullSubscription class are derived.
公用類別 RegisteredSubscriber Represents a Subscriber that has been registered at a Publisher or a Distributor.
公用類別 RegisteredSubscriberCollection Represents a collection of RegisteredSubscriber objects.
公用類別 ReplicationAgentContainerException The exception that is thrown when one or more errors are generated by a managed code-based replication agent.
公用類別 ReplicationAgentContainerWithWatsonException 基礎結構。Represents the exception that is thrown when one or more errors are generated by a managed code-based replication agent using Watson.
公用類別 ReplicationAgentException The base exception class for exceptions generated during replication agent execution.
公用類別 ReplicationAgentSchedule Represents the schedule for a replication agent job.
公用類別 ReplicationBaseCollection The base class that is used in the construction of replication object collections. It contains functionality that is common to the replication object collections.
公用類別 ReplicationColumn Represents a column object in a table that contains information needed by replication.
公用類別 ReplicationDatabase Represents a publication or subscription database in a replication topology.
公用類別 ReplicationDatabaseCollection Represents a collection of ReplicationDatabase objects.
公用類別 ReplicationMonitor Monitors a replication server.
公用類別 ReplicationObject Abstract class that is the base class for all classes in the Replication Management Objects (RMO) programming interface.
公用類別 ReplicationSchemaBoundView Represents a schema-bound view and contains information needed by replication.
公用類別 ReplicationServer Represents an instance of Microsoft SQL Server that is involved in replication. It can take the role of Distributor, Publisher, Subscriber, or any combination of them.
公用類別 ReplicationStatusAndWarning Represents replication agent status information and threshold monitor warnings.
公用類別 ReplicationStoredProcedure Represents information on a stored procedure object that is required by replication.
公用類別 ReplicationTable Represents information on a table object that is required by replication.
公用類別 ReplicationUserDefinedAggregate Represents a user-defined aggregate function and contains information needed by replication.
公用類別 ReplicationUserDefinedFunction Represents a user-defined function and contains information needed by replication.
公用類別 ReplicationView Represents information on a view object that is required by replication.
公用類別 ResourceStrings 基礎結構。Represents the resource strings used in replication.
公用類別 SnapshotGenerationAgent Provides the functionality of the Replication Snapshot Agent.
公用類別 StatusEventArgs Represents status information returned by a replication agent when the Status event occurs.
公用類別 SubscriberSubscription Returns information about a subscription.
公用類別 Subscription Represents information at the Publisher for a subscription to either a merge or a transactional publication. Subscription is a base class from which the TransSubscription class and the MergeSubscription class are derived.
公用類別 SubscriptionBackupInformation Represents information required to initialize a subscription from a backup.
公用類別 SynchronizationPartner Represents an alternate Publisher used to synchronize a subscription to a merge publication.
公用類別 TracerToken Represents tracer token information.
公用類別 TransArticle Represents an article in a transactional publication.
公用類別 TransArticleCollection Represents a collection of TransArticle objects.
公用類別 TransConflictCount Represents returned conflict information for a table article in a publication that supports queued updating subscriptions.
公用類別 TransPublication Represents a transactional publication.
公用類別 TransPublicationCollection Represents a collection of TransPublication objects.
公用類別 TransPullSubscription Represents a pull subscription to a transactional publication.
公用類別 TransPullSubscriptionCollection Represents a collection of TransPullSubscription objects.
公用類別 TransSubscription Represents a push subscription to a transactional or snapshot publication.
公用類別 TransSubscriptionCollection Represents a collection of TransSubscription objects.
公用類別 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 基礎結構。Provides an interface that handles the Status event that is raised during agent execution.
公用介面 IConnectionSecurityContext Provides an implementation of the ConnectionSecurityContext class for late-bound COM clients. For information on the members of this interface, see the reference documentation for ConnectionSecurityContext.
公用介面 IMergeSynchronizationAgent Provides an implementation of the MergeSynchronizationAgent class for late-bound COM clients.
公用介面 IProcessSecurityContext Interface that encapsulates the Microsoft Windows security account information used by Microsoft SQL Server Agent to start a replication agent job.
公用介面 IReplicationDBObject 基礎結構。Represents replication DB object.
公用介面 ISnapshotGenerationAgent Provides an implementation of the SnapshotGenerationAgent class for late-bound COM clients.
公用介面 IStatusEventData 基礎結構。Represents an interface for the status event data.
公用介面 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.
公用列舉 AddColumnOption Enumerates the options for adding a column to a table published in an existing publication.
公用列舉 AgentProfileTypeOption Indicates whether a replication agent profile is system-defined or user-defined.
公用列舉 AgentType Enumerates the various types of replication agents.
公用列舉 ArticleDatatypeMappingOptions Specifies whether the data type mapping between two database management systems (DBMS) for an article has been defined by a user or is the default mapping.
公用列舉 ArticleOptions Enumerates the type of database objects that can be published by replication.
公用列舉 AuthenticationMethod Enumerates values that specify the supported HTTP authentication methods for Web synchronization.
公用列舉 AutomaticReinitializationPolicies Enumerates default behaviors when reinitializing subscriptions to a merge publication.
公用列舉 CheckPermissionOptions Enumerates the table-level permissions that are verified when the Merge Agent applies changes at the Publisher.
公用列舉 CommandOptions Enumerates options that control how changes are propagated for transactional articles.
公用列舉 ConflictPolicyOption Enumerates options for selecting the winning row when conflicts occur during synchronization of an updating subscription to a transactional publication.
公用列舉 CreationScriptOptions Enumerates schema option values for published articles.
公用列舉 DatabaseCompatibilityLevel Enumerates the versions of Microsoft SQL Server that are supported for database compatibility with Microsoft SQL Server 2005.
公用列舉 DataSourceType Enumerates the data sources supported as replication Subscribers.
公用列舉 DdlReplicationOptions Enumerates whether data definition language (DDL) changes to published tables are replicated.
公用列舉 DeadlockPriority Enumerates the priorities used to resolve deadlocks that occur during snapshot generation.
公用列舉 DtsPackageLocationOption Enumerates options for the location of the Data Transformation Services (DTS) package.
公用列舉 FailoverMode Enumerates the options available for an updating Subscriber to propagate changes back to the Publisher.
公用列舉 FileTransferOption Enumerates the options for obtaining snapshot files.
公用列舉 FilterTypes Enumerates values that specify the type of filters used in merge articles.
公用列舉 IdentityRangeManagementOption Enumerates options for managing identity column range assignments in tables published using merge replication and transactional replication with updating Subscribers.
公用列舉 InitialSyncType Enumerates the data file formats supported for the initial snapshot.
公用列舉 MergeArticleState Enumerates the supported status settings for a merge article.
公用列舉 MergeExchangeType Enumerates options for how the Merge Agent synchronizes data.
公用列舉 MergeSessionDetailType Enumerates parts of a Merge Agent session being monitored.
公用列舉 MergeSessionPhase Enumerates the phase of a Merge Agent session.
公用列舉 MergeSessionStatus Enumerates the status of a Merge Agent session.
公用列舉 MergeSubscriberType Enumeration additional types of subscriptions supported by merge replication.
公用列舉 MessageStatus Enumerates replication agent status codes.
公用列舉 MonitorCacheRefreshPolicy 基礎結構。Specifies a monitor cache refresh policy.
公用列舉 NetworkType Enumerates the supported Net-Libraries used by a replication agent when connecting to a replication server.
公用列舉 PartitionGroupsOption Enumerates values that determine whether a merge publication uses precomputed partitions.
公用列舉 PartitionOptions Enumerates the ways in which data in an article is partitioned amongst subscriptions when the merge publication uses a parameterized row filter.
公用列舉 PreCreationOption Enumerates the commands that are executed prior to subscription initialization when a published table already exists in the subscription database.
公用列舉 PublicationAttributes Enumerates supported publication properties.
公用列舉 PublicationCompatibilityLevel Enumerates product version values that are used by merge replication to determine which features can be used by publications in a given database.
公用列舉 PublicationType Enumerates the supported types of replication used to publish a database.
公用列舉 QueueOption Enumerates the type of queuing available to a transactional publication with updating Subscribers.
公用列舉 ReplicationSecurityMode Specifies the supported security modes used by updating Subscribers when connecting to the Publisher.
公用列舉 ReplicationStatus Specifies the status of a replication agent job.
公用列舉 ReplicationType Enumerates the type of publication for which a snapshot is generated.
公用列舉 ReplicationWarnings Enumerates the supported replication threshold monitor warning values.
公用列舉 ResynchronizeType Enumerates values that specify the changes to apply when a merge subscription is resynchronized.
公用列舉 RetentionPeriodUnits Enumerates values that specify the units for the retention period.
公用列舉 ScheduleConstant Enumerates constant values used to set replication schedules.
公用列舉 ScheduleFrequencySubDay Enumerates values that specify a smaller scheduling unit for specific schedule frequencies.
公用列舉 ScheduleFrequencyType Enumerates the types of frequencies used when scheduling a replication agent job.
公用列舉 ScheduleRelativeIntervals Enumerates values that represent the frequency of a replication agent schedule relative to the ScheduleFrequencyType.
公用列舉 ScriptOptions Enumerates options for generating scripts that are used to create or remove replication objects.
公用列舉 SecurityMode Enumerates the type of authentication to use when a replication agent connects to a server in a replication topology.
公用列舉 State Enumerates the values that represent the status of a publication.
公用列舉 SubscriberType Enumerates the types of data sources that can be a Subscriber to a publication.
公用列舉 SubscriberUploadOptions Enumerates merge article options for updates made at a Subscriber with a client subscription.
公用列舉 SubscriptionBackupDeviceType Enumerates backup devices that can be used to initialize a subscription.
公用列舉 SubscriptionOption Enumerates the type of subscription.
公用列舉 SubscriptionResultOption Enumerates options for returning monitored subscriptions.
公用列舉 SubscriptionState Enumerates options for the status of a subscription.
公用列舉 SubscriptionSyncType Enumerates options for how the initial synchronization is performed for a subscription.
公用列舉 TransSubscriberType Enumerates the updating behaviors for subscriptions to transactional publications.
公用列舉 ValidateType Enumerates the types of validation that are performed during synchronization.
公用列舉 ValidationMethod Enumerates methods supported for rowcount validation of transactional publications.
公用列舉 ValidationOption Enumerates the types of data validation supported by replication.
公用列舉 VerifyResolverSignatureOption Enumerates values that specify whether the Merge Agent must verify the digital signature on a Component Object Model (COM)-based conflict resolver to determine if it is from a trusted source.

請參閱

參考

其他資源

Replication Management Objects 概念。