Export (0) Print
Expand All

DistributionArticle Class

 

Applies To: SQL Server 2016 Preview

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

Namespace:   Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

System.Object
  Microsoft.SqlServer.Replication.ReplicationObject
    Microsoft.SqlServer.Replication.DistributionArticle

public sealed class DistributionArticle : ReplicationObject

NameDescription
System_CAPS_pubmethodDistributionArticle()

Creates a new instance of the DistributionArticle class.

System_CAPS_pubmethodDistributionArticle(String, String, String, String, String, ServerConnection)

Creates a new instance of the DistributionArticle class with the required properties and a connection to the Distributor.

NameDescription
System_CAPS_pubpropertyArticleId

Gets or sets the ID value for the article.

System_CAPS_pubpropertyCachePropertyChanges

Gets or sets whether to cache changes made to the replication properties or to apply them immediately.(Inherited from ReplicationObject.)

System_CAPS_pubpropertyConnectionContext

Gets or sets the connection to an instance of Microsoft SQL Server.(Inherited from ReplicationObject.)

System_CAPS_pubpropertyDescription

Gets or sets a description for the article.

System_CAPS_pubpropertyDistributionDBName

Gets or sets the name of the distribution database that contains the article metadata.

System_CAPS_pubpropertyIsExistingObject

Gets whether the object exists on the server or not.(Inherited from ReplicationObject.)

System_CAPS_pubpropertyName

Gets or sets the name of the article.

System_CAPS_pubpropertyPublicationDBName

Gets or sets the name of the publication database.

System_CAPS_pubpropertyPublicationName

Gets or sets the name of the publication that contains the article.

System_CAPS_pubpropertyPublisherName

Gets or sets the name of the Publisher.

System_CAPS_pubpropertySourceObjectName

Gets or sets the database object that provides the article data.

System_CAPS_pubpropertySourceObjectOwner

Gets or sets the owner of the database object that provides the article data.

System_CAPS_pubpropertySqlServerName

Gets the name of the Microsoft SQL Server instance to which this object is connected. (Inherited from ReplicationObject.)

System_CAPS_pubpropertyUserData

Gets or sets an object property that allows users to attach their own data to the object. (Inherited from ReplicationObject.)

NameDescription
System_CAPS_pubmethodCommitPropertyChanges()

Sends all the cached property change statements to the instance of Microsoft SQL Server.(Inherited from ReplicationObject.)

System_CAPS_pubmethodCreate()

Creates the article metadata at the Distributor.

System_CAPS_pubmethodDecouple()

Decouples the referenced replication object from the server. (Inherited from ReplicationObject.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodLoad()

Loads the properties of an existing object from the server. (Inherited from ReplicationObject.)

System_CAPS_pubmethodLoadProperties()

Loads the properties of an existing object from the server. (Inherited from ReplicationObject.)

System_CAPS_pubmethodRefresh()

Reloads the properties of the object. (Inherited from ReplicationObject.)

System_CAPS_pubmethodRemove()

Removes article metadata from the Distributor.

System_CAPS_pubmethodScript(ScriptOptions)

Generates a Transact-SQL script that can be used to create or delete the article with the specified properties.

System_CAPS_pubmethodToString()

(Inherited from Object.)

The DistributionArticle class is used primarily by SQL Server Management Studio and for non-SQL Server Publishers. To create, view, or modify the properties of an article, you should instead use an instance of the TransArticle class.

The DistributionArticle class requires a connection to the Distributor.

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft