共用方式為


DistributionPublisher Members

Represents information about a Publisher registered at the currently connected Distributor.

The following tables list the members exposed by the DistributionPublisher type.

Public Constructors

  名稱 Description
DistributionPublisher Overloaded. Creates a new instance of the DistributionPublisher class.

頂端

Public Properties

  名稱 Description
ms156094.pubproperty(zh-tw,SQL.90).gif CachePropertyChanges  Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (inherited from ReplicationObject)
ms156094.pubproperty(zh-tw,SQL.90).gif ConnectionContext  Gets or sets the connection to an instance of Microsoft SQL Server. (inherited from ReplicationObject)
ms156094.pubproperty(zh-tw,SQL.90).gif DistributionDatabase Gets or sets the name of the distribution database used by the Publisher.
ms156094.pubproperty(zh-tw,SQL.90).gif DistributionPublications Returns the publications that exist at the Publisher.
ms156094.pubproperty(zh-tw,SQL.90).gif HeterogeneousLogReaderAgentExists Gets whether the Log Reader Agent job exists for the non-SQL Server Publisher.
ms156094.pubproperty(zh-tw,SQL.90).gif HeterogeneousLogReaderAgentProcessSecurity Gets the security context used by the Log Reader agent for a non-SQL Server Publisher.
ms156094.pubproperty(zh-tw,SQL.90).gif IsExistingObject  Gets whether the object exists on the server or not. (inherited from ReplicationObject)
ms156094.pubproperty(zh-tw,SQL.90).gif Name Gets or sets the name of the Publisher instance of Microsoft SQL Server.
ms156094.pubproperty(zh-tw,SQL.90).gif PublisherSecurity Gets the security context used by replication agent when connecting to the Publisher.
ms156094.pubproperty(zh-tw,SQL.90).gif PublisherType Gets or sets the Publisher type.
ms156094.pubproperty(zh-tw,SQL.90).gif RegisteredSubscribers Returns the Subscribers that are subscribed to publications at the Publisher.
ms156094.pubproperty(zh-tw,SQL.90).gif SqlServerName  Gets the name of the Microsoft SQL Server instance to which this object is connected. (inherited from ReplicationObject)
ms156094.pubproperty(zh-tw,SQL.90).gif Status Gets the Publisher status.
ms156094.pubproperty(zh-tw,SQL.90).gif ThirdParty Gets or sets whether the Publisher is a non-SQL Server Publisher.
ms156094.pubproperty(zh-tw,SQL.90).gif TransPublications Returns the transactional publications at the Publisher.
ms156094.pubproperty(zh-tw,SQL.90).gif TrustedDistributorConnection  
ms156094.pubproperty(zh-tw,SQL.90).gif UserData  Gets or sets an object property that allows users to attach their own data to the object. (inherited from ReplicationObject)
ms156094.pubproperty(zh-tw,SQL.90).gif WorkingDirectory Gets or sets the name of the working directory used to store data and schema files for the publication.

頂端

Public Methods

(see also Protected Methods )

  名稱 Description
ms156094.pubmethod(zh-tw,SQL.90).gif CommitPropertyChanges  Sends all the cached property change statements to the instance of Microsoft SQL Server. (inherited from ReplicationObject)
ms156094.pubmethod(zh-tw,SQL.90).gif Create Registers the Publisher with the specified properties at the Distributor.
ms156094.pubmethod(zh-tw,SQL.90).gif CreateHeterogeneousLogReaderAgent Creates a Log Reader Agent job for a non-SQL Server Publisher.
ms156094.pubmethod(zh-tw,SQL.90).gif Decouple  Decouples the referenced replication object from the server. (inherited from ReplicationObject)
ms156094.pubmethod(zh-tw,SQL.90).gif EnumDistributionPublications Returns information stored at the Distributor about publications at this Publisher.
ms156094.pubmethod(zh-tw,SQL.90).gif EnumRegisteredSubscribers Returns information stored at the Distributor about Subscribers to publications at this Publisher.
ms156094.pubmethod(zh-tw,SQL.90).gif EnumTransPublications Returns information at the Distributor about transactional publications at this Publisher.
ms156094.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms156094.pubmethod(zh-tw,SQL.90).gif GetHashCode  (inherited from Object )
ms156094.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms156094.pubmethod(zh-tw,SQL.90).gif Load  Loads the properties of an existing object from the server. (inherited from ReplicationObject)
ms156094.pubmethod(zh-tw,SQL.90).gif LoadProperties  Loads the properties of an existing object from the server. (inherited from ReplicationObject)
ms156094.pubmethod(zh-tw,SQL.90).gifms156094.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms156094.pubmethod(zh-tw,SQL.90).gif Refresh  Reloads the properties of the object. (inherited from ReplicationObject)
ms156094.pubmethod(zh-tw,SQL.90).gif Remove Removes the registration for this Publisher from the currently connected Distributor.
ms156094.pubmethod(zh-tw,SQL.90).gif Script Generates a Transact-SQL script that can be used to install or uninstall the Publisher.
ms156094.pubmethod(zh-tw,SQL.90).gif ToString  (inherited from Object )

頂端

Protected Methods

  名稱 Description
ms156094.protmethod(zh-tw,SQL.90).gif CheckValidCreation  (inherited from ReplicationObject )
ms156094.protmethod(zh-tw,SQL.90).gif CheckValidDefinition  (inherited from ReplicationObject )
ms156094.protmethod(zh-tw,SQL.90).gif Finalize  (inherited from Object )
ms156094.protmethod(zh-tw,SQL.90).gif GetChangeCommand  (inherited from ReplicationObject )
ms156094.protmethod(zh-tw,SQL.90).gif GetCreateCommand  (inherited from ReplicationObject )
ms156094.protmethod(zh-tw,SQL.90).gif GetDropCommand  (inherited from ReplicationObject )
ms156094.protmethod(zh-tw,SQL.90).gif InternalRefresh  (inherited from ReplicationObject )
ms156094.protmethod(zh-tw,SQL.90).gif MemberwiseClone  (inherited from Object )

頂端

請參閱

參考

DistributionPublisher Class
Microsoft.SqlServer.Replication Namespace

其他資源

How to: Configure Publishing and Distribution (RMO Programming)