共用方式為


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.

ReplicationServer 型別公開下列成員。

建構函式

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

頂端

方法

  名稱 描述
公用方法 AttachSubscriptionDatabase Attaches a copied subscription database at the Subscriber.
公用方法 ChangeDistributorPassword(SecureString) Changes the Distributor password, where the new password is supplied as a SecureString object.
公用方法 ChangeDistributorPassword(String) Changes the Distributor password.
公用方法 ChangeReplicationServerPasswords(ReplicationSecurityMode, String, SecureString) Changes all stored instances of the password for a login maintained on the replication server using a SecureString object.
公用方法 ChangeReplicationServerPasswords(ReplicationSecurityMode, String, String) Changes all stored instances of the password for a login maintained on the replication server.
受保護的方法 CheckValidCreation 基礎結構。 (繼承自 ReplicationObject。)
受保護的方法 CheckValidDefinition 基礎結構。 (繼承自 ReplicationObject。)
公用方法 CommitPropertyChanges Sends all the cached property change statements to the instance of Microsoft SQL Server. (繼承自 ReplicationObject。)
公用方法 CopySubscriptionDatabase Copies an existing pull subscription database.
公用方法 Decouple Decouples the referenced replication object from the server. (繼承自 ReplicationObject。)
公用方法 EnumAgentProfiles Returns the replication agent performance profiles supported on the server.
公用方法 EnumBusinessLogicHandlers Returns the business logic handlers registered at the server.
公用方法 EnumCurrentPrincipals Returns information for all published databases that are participating in database mirroring.
公用方法 EnumCustomResolvers Returns all custom conflict resolvers registered on the connected instance of SQL Server.
公用方法 EnumDistributionDatabases Returns the distribution databases installed when the currently connected instance of Microsoft SQL Server is a Distributor.
公用方法 EnumDistributionPublishers Returns the Publishers using the currently connected instance of Microsoft SQL Server as their Distributor. 
公用方法 EnumHeterogeneousColumns Returns the columns in a table on a non-SQL Server Publisher.
公用方法 EnumHeterogeneousTables Returns the available tables on a non-SQL Server Publisher.
公用方法 EnumLightPublications 基礎結構。
公用方法 EnumRegisteredSubscribers Returns the Subscribers that are registered at a Publisher.
公用方法 EnumReplicationDatabases Returns the databases enabled for replication.
公用方法 EnumSubscriberSubscriptions Returns the subscriptions on a Subscriber server.
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
受保護的方法 GetChangeCommand 基礎結構。 (繼承自 ReplicationObject。)
受保護的方法 GetCreateCommand 基礎結構。 (繼承自 ReplicationObject。)
公用方法 GetCurrentPrincipal Returns the current database mirroring principal for the specified publication database.
受保護的方法 GetDropCommand 基礎結構。 (繼承自 ReplicationObject。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetOriginalPublisher Returns the name of the originating Publisher for a published database participating in a database mirroring session.
公用方法 GetType (繼承自 Object。)
公用方法 InstallDistributor(SecureString, DistributionDatabase) Installs a Distributor on the currently connected instance of Microsoft SQL Server, where the password is specified using a SecureString object.
公用方法 InstallDistributor(String, DistributionDatabase) Installs a Distributor on the currently connected instance of Microsoft SQL Server.
公用方法 InstallDistributor(String, SecureString) Registers a remote Distributor, where the password is specified using a SecureString object.
公用方法 InstallDistributor(String, String) Registers a remote Distributor.
受保護的方法 InternalRefresh 基礎結構。 (繼承自 ReplicationObject。)
公用方法 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。)
公用方法 Refresh Reloads the properties of the object. (繼承自 ReplicationObject。)
公用方法 Script Returns a Transact-SQL script to install or uninstall replication on the server.
公用方法 ScriptInstallDistributor Returns a Transact-SQL script that installs the Distributor.
公用方法 ScriptUninstallDistributor Returns a Transact-SQL script that can be used to uninstall the Distributor.
公用方法 ToString (繼承自 Object。)
公用方法 UninstallDistributor Uninstalls replication publishing and distribution on the currently connected instance of SQL Server. 

頂端

屬性

  名稱 描述
公用屬性 AgentCheckupInterval Gets or sets the interval for the Distribution Agent to perform a checkup.
公用屬性 CachePropertyChanges Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (繼承自 ReplicationObject。)
公用屬性 ConnectionContext Gets or sets the connection to an instance of Microsoft SQL Server. (繼承自 ReplicationObject。)
公用屬性 DistributionDatabase Gets the name of the distribution database for the currently connected instance of SQL Server. 
公用屬性 DistributionDatabases Gets the distribution databases defined on the replication server.
公用屬性 DistributionPublishers Gets the Publishers that use the currently connected instance of Microsoft SQL Server as a Distributor.
公用屬性 DistributionServer Gets or sets the name of the Distributor for the currently connected instance of SQL Server.
公用屬性 DistributorAvailable Gets whether the Distributor for the currently connected instance of Microsoft SQL Server is currently connected and available or not.
公用屬性 DistributorInstalled Gets whether the currently connected instance of SQL Server has a local or remote Distributor. 
公用屬性 HasRemotePublisher Gets whether or not the currently connected instance of Microsoft SQL Server is a Distributor with a remote Publisher. 
公用屬性 IsDistributor Gets whether the currently connected instance of SQL Server is a Distributor or not.
公用屬性 IsExistingObject Gets whether the object exists on the server or not. (繼承自 ReplicationObject。)
公用屬性 IsPublisher Gets whether or not the currently connected instance of Microsoft SQL Server is a Publisher.
公用屬性 Name Gets the name of the instance of Microsoft SQL Server.
公用屬性 RegisteredSubscribers Gets the Subscribers registered with the Publisher.
公用屬性 ReplicationDatabases Gets the databases enabled for replication in the connected instance of Microsoft SQL Server.
公用屬性 SqlServerName Gets the name of the Microsoft SQL Server instance to which this object is connected. (繼承自 ReplicationObject。)
公用屬性 UserData Gets or sets an object property that allows users to attach their own data to the object. (繼承自 ReplicationObject。)
公用屬性 WorkingDirectory Gets the working directory used by a Publisher.

頂端