Partager via


Membres ReplicationServer

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.

Le type ReplicationServer expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ReplicationServer() () () () Initializes a new instance of the ReplicationServer class.
Méthode publique 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.

Haut de la page

Méthodes

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

Haut de la page

Propriétés

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

Haut de la page