Condividi tramite


Spazio dei nomi 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.

Classi

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

Vedere anche

Riferimento

Altre risorse

Concetti di base relativi a RMO (Replication Management Objects)