共用方式為


ReplicationDatabase 成員

Represents a publication or subscription database in a replication topology.

ReplicationDatabase 型別公開下列成員。

建構函式

  名稱 描述
公用方法 ReplicationDatabase() () () () Initializes a new instance of the ReplicationDatabase class.
公用方法 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.

頂端

方法

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

頂端

屬性

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

頂端