Compartir a través de


ReplicationDatabase Miembros

Represents a publication or subscription database in a replication topology.

El tipo ReplicationDatabase expone los siguientes miembros.

Constructores

  Nombre Descripción
Método publico ReplicationDatabase() () () () Initializes a new instance of the ReplicationDatabase class.
Método publico 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.

Principio

Métodos

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

Principio

Propiedades

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

Principio