共用方式為


DistributionArticle Members

Represents information about an article published in a transactional or snapshot publication stored at the Distributor.

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

Public Constructors

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

頂端

Public Properties

  名稱 Description
ms156059.pubproperty(zh-tw,SQL.90).gif ArticleId Gets or sets the ID value for the article.
ms156059.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)
ms156059.pubproperty(zh-tw,SQL.90).gif ConnectionContext  Gets or sets the connection to an instance of Microsoft SQL Server. (inherited from ReplicationObject)
ms156059.pubproperty(zh-tw,SQL.90).gif Description Gets or sets a description for the article.
ms156059.pubproperty(zh-tw,SQL.90).gif DistributionDBName Gets or sets the name of the distribution database that contains the article metadata.
ms156059.pubproperty(zh-tw,SQL.90).gif IsExistingObject  Gets whether the object exists on the server or not. (inherited from ReplicationObject)
ms156059.pubproperty(zh-tw,SQL.90).gif Name Gets or sets the name of the article.
ms156059.pubproperty(zh-tw,SQL.90).gif PublicationDBName Gets or sets the name of the publication database.
ms156059.pubproperty(zh-tw,SQL.90).gif PublicationName Gets or sets the name of the publication that contains the article.
ms156059.pubproperty(zh-tw,SQL.90).gif PublisherName Gets or sets the name of the Publisher.
ms156059.pubproperty(zh-tw,SQL.90).gif SourceObjectName Gets or sets the database object that provides the article data.
ms156059.pubproperty(zh-tw,SQL.90).gif SourceObjectOwner Gets or sets the owner of the database object that provides the article data.
ms156059.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)
ms156059.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)

頂端

Public Methods

(see also Protected Methods )

  名稱 Description
ms156059.pubmethod(zh-tw,SQL.90).gif CommitPropertyChanges  Sends all the cached property change statements to the instance of Microsoft SQL Server. (inherited from ReplicationObject)
ms156059.pubmethod(zh-tw,SQL.90).gif Create Creates the article metadata at the Distributor.
ms156059.pubmethod(zh-tw,SQL.90).gif Decouple  Decouples the referenced replication object from the server. (inherited from ReplicationObject)
ms156059.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms156059.pubmethod(zh-tw,SQL.90).gif GetHashCode  (inherited from Object )
ms156059.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms156059.pubmethod(zh-tw,SQL.90).gif Load  Loads the properties of an existing object from the server. (inherited from ReplicationObject)
ms156059.pubmethod(zh-tw,SQL.90).gif LoadProperties  Loads the properties of an existing object from the server. (inherited from ReplicationObject)
ms156059.pubmethod(zh-tw,SQL.90).gifms156059.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms156059.pubmethod(zh-tw,SQL.90).gif Refresh  Reloads the properties of the object. (inherited from ReplicationObject)
ms156059.pubmethod(zh-tw,SQL.90).gif Remove Removes article metadata from the Distributor.
ms156059.pubmethod(zh-tw,SQL.90).gif Script Generates a Transact-SQL script that can be used to create or delete the article with the specified properties.
ms156059.pubmethod(zh-tw,SQL.90).gif ToString  (inherited from Object )

頂端

Protected Methods

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

頂端

請參閱

參考

DistributionArticle Class
Microsoft.SqlServer.Replication Namespace