Freigeben über


Microsoft.SqlServer.Replication-Namespace

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.

Klassen

  Klasse Beschreibung
Öffentliche Klasse AgentApplication Infrastruktur Represents the application of the replication agent.
Öffentliche Klasse AgentCore Implements the core functionality for managed replication agents.
Öffentliche Klasse AgentJobHistoryInfo Returns information about the results of the last run of a replication agent.
Öffentliche Klasse AgentProfile Encapsulates all operations on replication agent profiles, such as creating, deleting, adding, and removing parameters, and assigning specific profiles to certain agents.
Öffentliche Klasse AgentProfileParameter Represents parameters in a replication agent profile.
Öffentliche Klasse AgentProfileParameterInfo Represents a supported parameter used in replication agent profiles.
Öffentliche Klasse AlternateSynchronizationPartner Represents an alternate Publisher to which a subscription can be synchronized if the primary Publisher is not available.
Öffentliche Klasse Article Represents the base class from which the TransArticle class and MergeArticle class are derived.
Öffentliche Klasse ArticleConflict Represents information about a merge replication conflict table.
Öffentliche Klasse BusinessLogicHandler Represents the server registration for the managed code assembly that implements a business logic handler.
Öffentliche Klasse ComErrorException The exception that is thrown when a general error is raised by a replication agent.
Öffentliche Klasse ComErrorRecord Represents information for an error generated by a replication agent.
Öffentliche Klasse ConnectionFailureException The exception that is thrown when a database connection fails when a replication agent is running.
Öffentliche Klasse ConnectionSecurityContext Represents information you use when you connect to Microsoft SQL Server.
Öffentliche Klasse CustomResolver Represents a COM-based resolver registration at a server in a merge replication topology.
Öffentliche Klasse DistributionArticle Represents information about an article published in a transactional or snapshot publication stored at the Distributor.
Öffentliche Klasse DistributionArticleCollection Represents a collection of DistributionArticle objects.
Öffentliche Klasse DistributionDatabase Represents a distribution database at the Distributor.
Öffentliche Klasse DistributionDatabaseCollection Represents a collection of DistributionDatabase objects.
Öffentliche Klasse DistributionPublication Represents information about a transactional or snapshot publication stored at the Distributor.
Öffentliche Klasse DistributionPublicationCollection Represents a collection of DistributionPublication objects.
Öffentliche Klasse DistributionPublisher Represents information about a Publisher registered at the currently connected Distributor.
Öffentliche Klasse DistributionPublisherCollection Represents a collection of DistributionPublisher objects.
Öffentliche Klasse DistributionSubscription Represents information stored at the Distributor about a subscription to a transactional or snapshot publication.
Öffentliche Klasse DistributionSubscriptionCollection Represents a collection of DistributionSubscription objects.
Öffentliche Klasse FciException The exception that is thrown when an error occurs in the File Compression Interface (FCI).
Öffentliche Klasse HeterogeneousColumn Represents a column contained in a table on a non-Microsoft SQL Server Publisher.
Öffentliche Klasse HeterogeneousTable Represents a table on a non-Microsoft SQL Server Publisher.
Öffentliche Klasse IdentityRangeInfo Structure that represents identity range management settings for a published article when the source table contains identity columns.
Öffentliche Klasse LastValidationDateTime Used to return the date and time of the last merge subscription validation.
Öffentliche Klasse LightPublication Infrastruktur Represents a light publication.
Öffentliche Klasse MergeArticle Represents an article in a merge publication.
Öffentliche Klasse MergeArticleCollection Represents a collection of MergeArticle objects.
Öffentliche Klasse MergeConflictCount Represents conflict information for a table article in a merge publication.
Öffentliche Klasse 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.
Öffentliche Klasse MergeJoinFilter Represents a join filter or logical record relationship between to merge articles.
Öffentliche Klasse MergePartition Represents information about a Subscriber's partition for a merge publication with a parameterized row filter.
Öffentliche Klasse MergePublication Represents a merge publication.
Öffentliche Klasse MergePublicationCollection Represents a collection of MergePublication objects.
Öffentliche Klasse MergePullSubscription Represents a pull subscription to a merge publication.
Öffentliche Klasse MergePullSubscriptionCollection Represents a collection of MergePullSubscription objects.
Öffentliche Klasse MergeSessionDetail Represents detailed information about a step in a Merge Agent session.
Öffentliche Klasse MergeSessionError Represents information on errors that occur during a Merge Agent session.
Öffentliche Klasse MergeSessionSummary Represents Merge Agent session information.
Öffentliche Klasse MergeSubscriberMonitor Enables Subscriber-side monitoring of subscriptions to merge publications.
Öffentliche Klasse MergeSubscription Represents a subscription to a merge publication registered at the Publisher.
Öffentliche Klasse MergeSubscriptionCollection Represents a collection of MergeSubscription objects.
Öffentliche Klasse MergeSynchronizationAgent Provides the functionality of the Replication Merge Agent.
Öffentliche Klasse MonitorThreshold Represents a threshold metric used when monitoring a publication.
Öffentliche Klasse NativeSqlConnectionException The exception that is thrown when an error is raised by an ODBC driver or an OLEDB provider during bulk copy operations.
Öffentliche Klasse OciException The exception that is thrown when an error is raised by the Oracle Call Interface (OCI).
Öffentliche Klasse OSException The exception that is thrown when an error is raised by the operating system during a File Compression Interface (FCI) operation.
Öffentliche Klasse ParameterValueOutOfRangeException The exception that is thrown if a value passed to a parameter is out of range for the data type of the parameter.
Öffentliche Klasse PasswordWriteOnlyException The exception that is thrown when a replication agent password property is accessed.
Öffentliche Klasse 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.
Öffentliche Klasse Publication The Publication class is a base class from which the TransPublication class and the MergePublication class are derived.
Öffentliche Klasse PublicationAccess Represents login information in the publication access list (PAL) for a publication.
Öffentliche Klasse PublicationArticle Represents article information for a published database object.
Öffentliche Klasse PublicationMonitor Monitors a publication.
Öffentliche Klasse PublicationMonitorCollection A collection of PublicationMonitor objects that represents publications at the Distributor.
Öffentliche Klasse PublisherConnectionSecurityContext Represents the login used when connecting to the instance of Microsoft SQL Server that is configured as a Publisher in a replication topology.
Öffentliche Klasse PublisherMonitor Monitors a replication Publisher.
Öffentliche Klasse PublisherMonitorCollection Represents a collection of PublisherMonitor objects.
Öffentliche Klasse 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.
Öffentliche Klasse RegisteredSubscriber Represents a Subscriber that has been registered at a Publisher or a Distributor.
Öffentliche Klasse RegisteredSubscriberCollection Represents a collection of RegisteredSubscriber objects.
Öffentliche Klasse ReplicationAgentContainerException The exception that is thrown when one or more errors are generated by a managed code-based replication agent.
Öffentliche Klasse ReplicationAgentContainerWithWatsonException Infrastruktur Represents the exception that is thrown when one or more errors are generated by a managed code-based replication agent using Watson.
Öffentliche Klasse ReplicationAgentException The base exception class for exceptions generated during replication agent execution.
Öffentliche Klasse ReplicationAgentSchedule Represents the schedule for a replication agent job.
Öffentliche Klasse 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.
Öffentliche Klasse ReplicationColumn Represents a column object in a table that contains information needed by replication.
Öffentliche Klasse ReplicationDatabase Represents a publication or subscription database in a replication topology.
Öffentliche Klasse ReplicationDatabaseCollection Represents a collection of ReplicationDatabase objects.
Öffentliche Klasse ReplicationMonitor Monitors a replication server.
Öffentliche Klasse ReplicationObject Abstract class that is the base class for all classes in the Replication Management Objects (RMO) programming interface.
Öffentliche Klasse ReplicationSchemaBoundView Represents a schema-bound view and contains information needed by replication.
Öffentliche Klasse 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.
Öffentliche Klasse ReplicationStatusAndWarning Represents replication agent status information and threshold monitor warnings.
Öffentliche Klasse ReplicationStoredProcedure Represents information on a stored procedure object that is required by replication.
Öffentliche Klasse ReplicationTable Represents information on a table object that is required by replication.
Öffentliche Klasse ReplicationUserDefinedAggregate Represents a user-defined aggregate function and contains information needed by replication.
Öffentliche Klasse ReplicationUserDefinedFunction Represents a user-defined function and contains information needed by replication.
Öffentliche Klasse ReplicationView Represents information on a view object that is required by replication.
Öffentliche Klasse ResourceStrings Infrastruktur Represents the resource strings used in replication.
Öffentliche Klasse SnapshotGenerationAgent Provides the functionality of the Replication Snapshot Agent.
Öffentliche Klasse StatusEventArgs Represents status information returned by a replication agent when the Status event occurs.
Öffentliche Klasse SubscriberSubscription Returns information about a subscription.
Öffentliche Klasse 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.
Öffentliche Klasse SubscriptionBackupInformation Represents information required to initialize a subscription from a backup.
Öffentliche Klasse SynchronizationPartner Represents an alternate Publisher used to synchronize a subscription to a merge publication.
Öffentliche Klasse TracerToken Represents tracer token information.
Öffentliche Klasse TransArticle Represents an article in a transactional publication.
Öffentliche Klasse TransArticleCollection Represents a collection of TransArticle objects.
Öffentliche Klasse TransConflictCount Represents returned conflict information for a table article in a publication that supports queued updating subscriptions.
Öffentliche Klasse TransPublication Represents a transactional publication.
Öffentliche Klasse TransPublicationCollection Represents a collection of TransPublication objects.
Öffentliche Klasse TransPullSubscription Represents a pull subscription to a transactional publication.
Öffentliche Klasse TransPullSubscriptionCollection Represents a collection of TransPullSubscription objects.
Öffentliche Klasse TransSubscription Represents a push subscription to a transactional or snapshot publication.
Öffentliche Klasse TransSubscriptionCollection Represents a collection of TransSubscription objects.
Öffentliche Klasse TransSynchronizationAgent Provides the functionality of the Replication Distribution Agent.

Schnittstellen

  Schnittstelle Beschreibung
Öffentliche Schnittstelle IAlternateSynchronizationPartner Provides an implementation of the AlternateSynchronizationPartner class for late-bound COM clients.
Öffentliche Schnittstelle IComErrorRecord Provides an implementation of the ComErrorRecord class for late-bound COM clients.
Öffentliche Schnittstelle IComStatusEvent Infrastruktur Provides an interface that handles the Status event that is raised during agent execution.
Öffentliche Schnittstelle 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.
Öffentliche Schnittstelle IMergeSynchronizationAgent Provides an implementation of the MergeSynchronizationAgent class for late-bound COM clients.
Öffentliche Schnittstelle IProcessSecurityContext Interface that encapsulates the Microsoft Windows security account information used by Microsoft SQL Server Agent to start a replication agent job.
Öffentliche Schnittstelle IReplicationDBObject Infrastruktur Represents replication DB object.
Öffentliche Schnittstelle ISnapshotGenerationAgent Provides an implementation of the SnapshotGenerationAgent class for late-bound COM clients.
Öffentliche Schnittstelle IStatusEventData Infrastruktur Represents an interface for the status event data.
Öffentliche Schnittstelle ITransSynchronizationAgent Provides an implementation of the TransSynchronizationAgent class for late-bound COM clients.

Delegaten

  Delegat Beschreibung
Öffentlicher Delegat AgentCore.StatusEventHandler Delegate that handles the Status event that is raised during agent execution.

Enumerationen

  Enumeration Beschreibung
Öffentliche Enumeration AbortPolicy Enumerates the options for how running replication agent threads are terminated when an unanticipated shutdown occurs.
Öffentliche Enumeration AddColumnOption Enumerates the options for adding a column to a table published in an existing publication.
Öffentliche Enumeration AgentProfileTypeOption Indicates whether a replication agent profile is system-defined or user-defined.
Öffentliche Enumeration AgentType Enumerates the various types of replication agents.
Öffentliche Enumeration 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.
Öffentliche Enumeration ArticleOptions Enumerates the type of database objects that can be published by replication.
Öffentliche Enumeration AuthenticationMethod Enumerates values that specify the supported HTTP authentication methods for Web synchronization.
Öffentliche Enumeration AutomaticReinitializationPolicies Enumerates default behaviors when reinitializing subscriptions to a merge publication.
Öffentliche Enumeration CheckPermissionOptions Enumerates the table-level permissions that are verified when the Merge Agent applies changes at the Publisher.
Öffentliche Enumeration CommandOptions Enumerates options that control how changes are propagated for transactional articles.
Öffentliche Enumeration ConflictPolicyOption Enumerates options for selecting the winning row when conflicts occur during synchronization of an updating subscription to a transactional publication.
Öffentliche Enumeration CreationScriptOptions Enumerates schema option values for published articles.
Öffentliche Enumeration DatabaseCompatibilityLevel Enumerates the versions of Microsoft SQL Server that are supported for database compatibility with Microsoft SQL Server 2005.
Öffentliche Enumeration DataSourceType Enumerates the data sources supported as replication Subscribers.
Öffentliche Enumeration DdlReplicationOptions Enumerates whether data definition language (DDL) changes to published tables are replicated.
Öffentliche Enumeration DeadlockPriority Enumerates the priorities used to resolve deadlocks that occur during snapshot generation.
Öffentliche Enumeration DtsPackageLocationOption Enumerates options for the location of the Data Transformation Services (DTS) package.
Öffentliche Enumeration FailoverMode Enumerates the options available for an updating Subscriber to propagate changes back to the Publisher.
Öffentliche Enumeration FileTransferOption Enumerates the options for obtaining snapshot files.
Öffentliche Enumeration FilterTypes Enumerates values that specify the type of filters used in merge articles.
Öffentliche Enumeration IdentityRangeManagementOption Enumerates options for managing identity column range assignments in tables published using merge replication and transactional replication with updating Subscribers.
Öffentliche Enumeration InitialSyncType Enumerates the data file formats supported for the initial snapshot.
Öffentliche Enumeration MergeArticleState Enumerates the supported status settings for a merge article.
Öffentliche Enumeration MergeExchangeType Enumerates options for how the Merge Agent synchronizes data.
Öffentliche Enumeration MergeSessionDetailType Enumerates parts of a Merge Agent session being monitored.
Öffentliche Enumeration MergeSessionPhase Enumerates the phase of a Merge Agent session.
Öffentliche Enumeration MergeSessionStatus Enumerates the status of a Merge Agent session.
Öffentliche Enumeration MergeSubscriberType Enumeration additional types of subscriptions supported by merge replication.
Öffentliche Enumeration MessageStatus Enumerates replication agent status codes.
Öffentliche Enumeration MonitorCacheRefreshPolicy Infrastruktur Specifies a monitor cache refresh policy.
Öffentliche Enumeration NetworkType Enumerates the supported Net-Libraries used by a replication agent when connecting to a replication server.
Öffentliche Enumeration PartitionGroupsOption Enumerates values that determine whether a merge publication uses precomputed partitions.
Öffentliche Enumeration PartitionOptions Enumerates the ways in which data in an article is partitioned amongst subscriptions when the merge publication uses a parameterized row filter.
Öffentliche Enumeration PreCreationOption Enumerates the commands that are executed prior to subscription initialization when a published table already exists in the subscription database.
Öffentliche Enumeration PublicationAttributes Enumerates supported publication properties.
Öffentliche Enumeration PublicationCompatibilityLevel Enumerates product version values that are used by merge replication to determine which features can be used by publications in a given database.
Öffentliche Enumeration PublicationType Enumerates the supported types of replication used to publish a database.
Öffentliche Enumeration QueueOption Enumerates the type of queuing available to a transactional publication with updating Subscribers.
Öffentliche Enumeration ReplicationSecurityMode Specifies the supported security modes used by updating Subscribers when connecting to the Publisher.
Öffentliche Enumeration ReplicationStatus Specifies the status of a replication agent job.
Öffentliche Enumeration ReplicationType Enumerates the type of publication for which a snapshot is generated.
Öffentliche Enumeration ReplicationWarnings Enumerates the supported replication threshold monitor warning values.
Öffentliche Enumeration ResynchronizeType Enumerates values that specify the changes to apply when a merge subscription is resynchronized.
Öffentliche Enumeration RetentionPeriodUnits Enumerates values that specify the units for the retention period.
Öffentliche Enumeration ScheduleConstant Enumerates constant values used to set replication schedules.
Öffentliche Enumeration ScheduleFrequencySubDay Enumerates values that specify a smaller scheduling unit for specific schedule frequencies.
Öffentliche Enumeration ScheduleFrequencyType Enumerates the types of frequencies used when scheduling a replication agent job.
Öffentliche Enumeration ScheduleRelativeIntervals Enumerates values that represent the frequency of a replication agent schedule relative to the ScheduleFrequencyType.
Öffentliche Enumeration ScriptOptions Enumerates options for generating scripts that are used to create or remove replication objects.
Öffentliche Enumeration SecurityMode Enumerates the type of authentication to use when a replication agent connects to a server in a replication topology.
Öffentliche Enumeration State Enumerates the values that represent the status of a publication.
Öffentliche Enumeration SubscriberType Enumerates the types of data sources that can be a Subscriber to a publication.
Öffentliche Enumeration SubscriberUploadOptions Enumerates merge article options for updates made at a Subscriber with a client subscription.
Öffentliche Enumeration SubscriptionBackupDeviceType Enumerates backup devices that can be used to initialize a subscription.
Öffentliche Enumeration SubscriptionOption Enumerates the type of subscription.
Öffentliche Enumeration SubscriptionResultOption Enumerates options for returning monitored subscriptions.
Öffentliche Enumeration SubscriptionState Enumerates options for the status of a subscription.
Öffentliche Enumeration SubscriptionSyncType Enumerates options for how the initial synchronization is performed for a subscription.
Öffentliche Enumeration TransSubscriberType Enumerates the updating behaviors for subscriptions to transactional publications.
Öffentliche Enumeration ValidateType Enumerates the types of validation that are performed during synchronization.
Öffentliche Enumeration ValidationMethod Enumerates methods supported for rowcount validation of transactional publications.
Öffentliche Enumeration ValidationOption Enumerates the types of data validation supported by replication.
Öffentliche Enumeration 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.

Siehe auch

Verweis

Andere Ressourcen

Konzepte für Replikationsverwaltungsobjekte (RMO)