Udostępnij za pośrednictwem


Article Members

The base class from which the TransArticle class and MergeArticle class are derived.

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

Protected Constructors

  Name Description
Article Initializes a new instance of the Article class.

Top

Public Properties

(see also Protected Properties )

  Name Description
ms156079.pubproperty(en-US,SQL.90).gif ArticleId Gets the article ID value.
ms156079.pubproperty(en-US,SQL.90).gif CachePropertyChanges  Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (inherited from ReplicationObject)
ms156079.pubproperty(en-US,SQL.90).gif ConnectionContext  Gets or sets the connection to an instance of Microsoft SQL Server. (inherited from ReplicationObject)
ms156079.pubproperty(en-US,SQL.90).gif CreationScript Gets or sets the name and full path of the Transact-SQL script file that is used to create the destination object at the Subscriber.
ms156079.pubproperty(en-US,SQL.90).gif DatabaseName Gets or sets the name of the database that contains the data and the objects that are published in the article.
ms156079.pubproperty(en-US,SQL.90).gif Description Gets or sets a textual description of the article.
ms156079.pubproperty(en-US,SQL.90).gif DestinationObjectName Gets or sets the database object that is the source database object for the article at the Subscriber.
ms156079.pubproperty(en-US,SQL.90).gif DestinationObjectOwner Gets or sets the schema owner of the source database object for the article at the Subscriber.
ms156079.pubproperty(en-US,SQL.90).gif IdentityRangeManagementOption Gets or sets the identity range management options for the article.
ms156079.pubproperty(en-US,SQL.90).gif IdentityRangeThreshold Gets or sets the value at which a new range of identity column values are assigned to a Publisher or to a Subscriber.
ms156079.pubproperty(en-US,SQL.90).gif IsExistingObject  Gets whether the object exists on the server or not. (inherited from ReplicationObject)
ms156079.pubproperty(en-US,SQL.90).gif Name Gets or sets the name of the article.
ms156079.pubproperty(en-US,SQL.90).gif PreCreationMethod Gets or sets the action to take when the published object already exists in the subscription database.
ms156079.pubproperty(en-US,SQL.90).gif PublicationName Gets or sets the name of the publication to which the article belongs.
ms156079.pubproperty(en-US,SQL.90).gif PublisherIdentityRangeSize For a TransArticle object, gets or sets the range of identity values assigned to table columns at the Publisher. For a MergeArticle object, gets or sets the range of identity values assigned to table columns at Subscribers that have server subscriptions.
ms156079.pubproperty(en-US,SQL.90).gif SchemaOption Gets or sets the schema creation options for an article.
ms156079.pubproperty(en-US,SQL.90).gif SourceObjectName Gets or sets the name of the database object that is being published.
ms156079.pubproperty(en-US,SQL.90).gif SourceObjectOwner Gets or sets the owner of the database object that is being published.
ms156079.pubproperty(en-US,SQL.90).gif SqlServerName  Gets the name of the Microsoft SQL Server instance to which this object is connected. (inherited from ReplicationObject)
ms156079.pubproperty(en-US,SQL.90).gif SubscriberIdentityRangeSize Gets or sets the maximum number of new rows that can be inserted into an identity column in a table at a Subscriber before another identity range must be allocated.
ms156079.pubproperty(en-US,SQL.90).gif Type Gets or sets the type of article.
ms156079.pubproperty(en-US,SQL.90).gif UserData  Gets or sets an object property that allows users to attach their own data to the object. (inherited from ReplicationObject)
ms156079.pubproperty(en-US,SQL.90).gif VerticalPartition Specifies whether all columns are published in a table article.

Top

Protected Properties

  Name Description
ms156079.protproperty(en-US,SQL.90).gif CreateArticleAsHeterogeneous  

Top

Public Methods

(see also Protected Methods )

  Name Description
ms156079.pubmethod(en-US,SQL.90).gif CommitPropertyChanges  Sends all the cached property change statements to the instance of Microsoft SQL Server. (inherited from ReplicationObject)
ms156079.pubmethod(en-US,SQL.90).gif Create Creates a new article on the currently connected instance of SQL Server based on the current properties of the TransArticle object or the MergeArticle object.
ms156079.pubmethod(en-US,SQL.90).gif Decouple  Decouples the referenced replication object from the server. (inherited from ReplicationObject)
ms156079.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms156079.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms156079.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms156079.pubmethod(en-US,SQL.90).gif Load  Loads the properties of an existing object from the server. (inherited from ReplicationObject)
ms156079.pubmethod(en-US,SQL.90).gif LoadProperties  Loads the properties of an existing object from the server. (inherited from ReplicationObject)
ms156079.pubmethod(en-US,SQL.90).gifms156079.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms156079.pubmethod(en-US,SQL.90).gif Refresh  Reloads the properties of the object. (inherited from ReplicationObject)
ms156079.pubmethod(en-US,SQL.90).gif Remove Removes an existing article on the currently connected instance of SQL Server based on the current properties of the TransArticle object or the MergeArticle object.
ms156079.pubmethod(en-US,SQL.90).gif Script Generates a Transact-SQL script that can be executed to create or delete the TransArticle object or the MergeArticle object on the server.
ms156079.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms156079.protmethod(en-US,SQL.90).gif CheckValidCreation Overridden.  
ms156079.protmethod(en-US,SQL.90).gif CheckValidDefinition Overridden.  
ms156079.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms156079.protmethod(en-US,SQL.90).gif GetChangeCommand  (inherited from ReplicationObject )
ms156079.protmethod(en-US,SQL.90).gif GetCreateCommand  (inherited from ReplicationObject )
ms156079.protmethod(en-US,SQL.90).gif GetDropCommand  (inherited from ReplicationObject )
ms156079.protmethod(en-US,SQL.90).gif InternalRefresh  (inherited from ReplicationObject )
ms156079.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

See Also

Reference

Article Class
Microsoft.SqlServer.Replication Namespace

Other Resources

How to: Define an Article (RMO Programming)
How to: Delete an Article (RMO Programming)
How to: View and Modify Article Properties (RMO Programming)