Freigeben über


ReplicationDatabase-Member

Represents a publication or subscription database in a replication topology.

Der ReplicationDatabase-Typ macht die folgenden Member verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode ReplicationDatabase() () () () Initializes a new instance of the ReplicationDatabase class.
Öffentliche Methode 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.

Zum Anfang

Methoden

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

Zum Anfang

Eigenschaften

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

Zum Anfang