Compartir a través de


ReplicationServer Miembros

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.

El tipo ReplicationServer expone los siguientes miembros.

Constructores

  Nombre Descripción
Método publico ReplicationServer() () () () Initializes a new instance of the ReplicationServer class.
Método publico ReplicationServer(ServerConnection) Initializes a new instance of the ReplicationServer class with the specified connection context that is used to establish a connection with the instance of Microsoft SQL Server.

Principio

Métodos

  Nombre Descripción
Método publico AttachSubscriptionDatabase Attaches a copied subscription database at the Subscriber.
Método publico ChangeDistributorPassword(SecureString) Changes the Distributor password, where the new password is supplied as a SecureString object.
Método publico ChangeDistributorPassword(String) Changes the Distributor password.
Método publico ChangeReplicationServerPasswords(ReplicationSecurityMode, String, SecureString) Changes all stored instances of the password for a login maintained on the replication server using a SecureString object.
Método publico ChangeReplicationServerPasswords(ReplicationSecurityMode, String, String) Changes all stored instances of the password for a login maintained on the replication server.
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 CopySubscriptionDatabase Copies an existing pull subscription database.
Método publico Decouple Decouples the referenced replication object from the server. (Se hereda de ReplicationObject).
Método publico EnumAgentProfiles Returns the replication agent performance profiles supported on the server.
Método publico EnumBusinessLogicHandlers Returns the business logic handlers registered at the server.
Método publico EnumCurrentPrincipals Returns information for all published databases that are participating in database mirroring.
Método publico EnumCustomResolvers Returns all custom conflict resolvers registered on the connected instance of SQL Server.
Método publico EnumDistributionDatabases Returns the distribution databases installed when the currently connected instance of Microsoft SQL Server is a Distributor.
Método publico EnumDistributionPublishers Returns the Publishers using the currently connected instance of Microsoft SQL Server as their Distributor. 
Método publico EnumHeterogeneousColumns Returns the columns in a table on a non-SQL Server Publisher.
Método publico EnumHeterogeneousTables Returns the available tables on a non-SQL Server Publisher.
Método publico EnumLightPublications Infraestructura.
Método publico EnumRegisteredSubscribers Returns the Subscribers that are registered at a Publisher.
Método publico EnumReplicationDatabases Returns the databases enabled for replication.
Método publico EnumSubscriberSubscriptions Returns the subscriptions on a Subscriber server.
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 publico GetCurrentPrincipal Returns the current database mirroring principal for the specified publication database.
Método protegido GetDropCommand Infraestructura. (Se hereda de ReplicationObject).
Método publico GetHashCode (Se hereda de Object).
Método publico GetOriginalPublisher Returns the name of the originating Publisher for a published database participating in a database mirroring session.
Método publico GetType (Se hereda de Object).
Método publico InstallDistributor(SecureString, DistributionDatabase) Installs a Distributor on the currently connected instance of Microsoft SQL Server, where the password is specified using a SecureString object.
Método publico InstallDistributor(String, DistributionDatabase) Installs a Distributor on the currently connected instance of Microsoft SQL Server.
Método publico InstallDistributor(String, SecureString) Registers a remote Distributor, where the password is specified using a SecureString object.
Método publico InstallDistributor(String, String) Registers a remote Distributor.
Método protegido InternalRefresh Infraestructura. (Se hereda de ReplicationObject).
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 Refresh Reloads the properties of the object. (Se hereda de ReplicationObject).
Método publico Script Returns a Transact-SQL script to install or uninstall replication on the server.
Método publico ScriptInstallDistributor Returns a Transact-SQL script that installs the Distributor.
Método publico ScriptUninstallDistributor Returns a Transact-SQL script that can be used to uninstall the Distributor.
Método publico ToString (Se hereda de Object).
Método publico UninstallDistributor Uninstalls replication publishing and distribution on the currently connected instance of SQL Server. 

Principio

Propiedades

  Nombre Descripción
Propiedad pública AgentCheckupInterval Gets or sets the interval for the Distribution Agent to perform a checkup.
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 ConnectionContext Gets or sets the connection to an instance of Microsoft SQL Server. (Se hereda de ReplicationObject).
Propiedad pública DistributionDatabase Gets the name of the distribution database for the currently connected instance of SQL Server. 
Propiedad pública DistributionDatabases Gets the distribution databases defined on the replication server.
Propiedad pública DistributionPublishers Gets the Publishers that use the currently connected instance of Microsoft SQL Server as a Distributor.
Propiedad pública DistributionServer Gets or sets the name of the Distributor for the currently connected instance of SQL Server.
Propiedad pública DistributorAvailable Gets whether the Distributor for the currently connected instance of Microsoft SQL Server is currently connected and available or not.
Propiedad pública DistributorInstalled Gets whether the currently connected instance of SQL Server has a local or remote Distributor. 
Propiedad pública HasRemotePublisher Gets whether or not the currently connected instance of Microsoft SQL Server is a Distributor with a remote Publisher. 
Propiedad pública IsDistributor Gets whether the currently connected instance of SQL Server is a Distributor or not.
Propiedad pública IsExistingObject Gets whether the object exists on the server or not. (Se hereda de ReplicationObject).
Propiedad pública IsPublisher Gets whether or not the currently connected instance of Microsoft SQL Server is a Publisher.
Propiedad pública Name Gets the name of the instance of Microsoft SQL Server.
Propiedad pública RegisteredSubscribers Gets the Subscribers registered with the Publisher.
Propiedad pública ReplicationDatabases Gets the databases enabled for replication in the connected instance of Microsoft SQL Server.
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 UserData Gets or sets an object property that allows users to attach their own data to the object. (Se hereda de ReplicationObject).
Propiedad pública WorkingDirectory Gets the working directory used by a Publisher.

Principio