Membres ReplicationDatabase

Represents a publication or subscription database in a replication topology.

Le type ReplicationDatabase expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ReplicationDatabase() () () () Initializes a new instance of the ReplicationDatabase class.
Méthode publique ReplicationDatabase(String, ServerConnection) Initializes a new instance of the ReplicationDatabase class with the specified database name, providing a connection to the server on which the database exists.

Haut de la page

Méthodes

  Nom Description
Méthode protégée CheckValidCreation Infrastructure. (Hérité de ReplicationObject.)
Méthode protégée CheckValidDefinition Infrastructure. (Hérité de ReplicationObject.)
Méthode publique CommitPropertyChanges Sends all the cached property change statements to the instance of Microsoft SQL Server. (Hérité de ReplicationObject.)
Méthode publique CreateLogReaderAgent Creates a Log Reader Agent job for a database published with transactional replication.
Méthode publique CreateQueueReaderAgent Creates a Queue Reader Agent job for the distribution database.
Méthode publique Decouple Decouples the referenced replication object from the server. (Hérité de ReplicationObject.)
Méthode publique EnumConflictTables Returns conflict information for all merge publications and subscriptions that use the replication database.
Méthode publique EnumMergeConflictCounts Returns information on conflicts stored in a merge publication or subscription database.
Méthode publique EnumMergePublications Returns a list of merge publications that use the replication database.
Méthode publique EnumMergePullSubscriptions Returns all merge pull subscriptions that use this replication database.
Méthode publique EnumPublicationArticles Returns replication information for published objects in the replication database.
Méthode publique EnumReplicationSchemaBoundViews Returns all user-defined schema-bound view objects in the database.
Méthode publique EnumReplicationStoredProcedures Returns all user-defined stored procedure objects in the database.
Méthode publique EnumReplicationTables Returns all user-defined table objects in the database.
Méthode publique EnumReplicationUserDefinedAggregates Returns a list of user-defined aggregates in the database.
Méthode publique EnumReplicationUserDefinedFunctions Returns a list of user-defined functions in the database.
Méthode publique EnumReplicationViews Returns a list of the user-defined views objects in the database.
Méthode publique EnumTransConflictCounts Returns information on conflicts stored in an updating transactional publication or subscription database.
Méthode publique EnumTransPublications Returns a list of transactional and snapshot publications that use the database.
Méthode publique EnumTransPullSubscriptions Returns a list of transactional and snapshot pull subscriptions that use the database.
Méthode publique Equals (Hérité de Object.)
Méthode protégée Finalize (Hérité de Object.)
Méthode protégée GetChangeCommand Infrastructure. (Hérité de ReplicationObject.)
Méthode protégée GetCreateCommand Infrastructure. (Hérité de ReplicationObject.)
Méthode protégée GetDropCommand Infrastructure. (Hérité de ReplicationObject.)
Méthode publique GetHashCode (Hérité de Object.)
Méthode publique GetType (Hérité de Object.)
Méthode protégée InternalRefresh Infrastructure. (Hérité de ReplicationObject.)
Méthode publique LinkPublicationForUpdateableSubscription Sets the configuration and security information used by synchronization triggers of updatable subscriptions when connecting to the Publisher.
Méthode publique Load Loads the properties of an existing object from the server. (Hérité de ReplicationObject.)
Méthode publique LoadProperties Loads the properties of an existing object from the server. (Hérité de ReplicationObject.)
Méthode protégée MemberwiseClone (Hérité de Object.)
Méthode publique ReadSubscriptionFailoverMode Returns the failover mode for an updating subscription to a transactional or snapshot publication.
Méthode publique Refresh Reloads the properties of the object. (Hérité de ReplicationObject.)
Méthode publique Script Returns a Transact-SQL script to enable or disable replication publishing and subscriptions on the database based on the properties of ReplicationDatabase.
Méthode publique ScriptReplicationDBOption Returns a Transact-SQL script to enable or disable replication options on the database based on the properties of ReplicationDatabase.
Méthode publique ToString (Hérité de Object.)
Méthode publique WriteSubscriptionFailoverMode Sets the failover mode for an updating subscription to a transactional or snapshot publication.

Haut de la page

Propriétés

  Nom Description
Propriété publique AllowMergePublication Specifies whether or not the database can be published using merge replication.
Propriété publique CachePropertyChanges Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (Hérité de ReplicationObject.)
Propriété publique CompatibilityLevel Gets the minimum version of SQL Server with which the database has compatible behavior.
Propriété publique ConnectionContext Gets or sets the connection to an instance of Microsoft SQL Server. (Hérité de ReplicationObject.)
Propriété publique DBOwner Gets if the login used by the current connection has ownership rights to the database.
Propriété publique DBReadOnly Gets whether the database is read-only or not.
Propriété publique EnabledMergePublishing Gets or sets whether the database is enabled for merge publishing or not.
Propriété publique EnabledTransPublishing Gets or sets whether the database is enabled for transactional or snapshot publishing or not.
Propriété publique HasPublications Gets whether or not the database has existing publications.
Propriété publique HasPullSubscriptions Gets whether or not the database has existing pull subscriptions.
Propriété publique IsExistingObject Gets whether the object exists on the server or not. (Hérité de ReplicationObject.)
Propriété publique LogReaderAgentExists Gets whether or not the Log Reader Agent has been created for the publication database.
Propriété publique LogReaderAgentName Gets the name of an existing Log Reader Agent or sets the name when creating a new Log Reader Agent for a published database.
Propriété publique LogReaderAgentProcessSecurity Gets the Microsoft Windows account under which the Log Reader Agent job runs at the Distributor.
Propriété publique LogReaderAgentPublisherSecurity Gets the login used by the Log Reader Agent to connect to the Publisher.
Propriété publique MergePublications Returns the merge publications defined on the replication database.
Propriété publique MergePullSubscriptions Returns the merge pull subscriptions defined on the replication database.
Propriété publique Name Gets or sets the name of the replication database.
Propriété publique QueueReaderAgentExists Gets whether or not a Queue Reader Agent job exists for the database.
Propriété publique QueueReaderAgentProcessSecurity Gets the Microsoft Windows account under which the Queue Reader Agent job runs at the Distributor.
Propriété publique SqlServerName Gets the name of the Microsoft SQL Server instance to which this object is connected. (Hérité de ReplicationObject.)
Propriété publique TransPublications Returns the transactional or snapshot publications defined on the replication database.
Propriété publique TransPullSubscriptions Represents the pull subscriptions to a transactional or snapshot publication defined on the replication database.
Propriété publique UserData Gets or sets an object property that allows users to attach their own data to the object. (Hérité de ReplicationObject.)

Haut de la page