Export (0) Print
Expand All

Article Class

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

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

[StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8", 
	Name = "Microsoft.SqlServer.Rmo")]
public abstract class Article : ReplicationObject

The Article type exposes the following members.

  NameDescription
Protected methodArticleInitializes a new instance of the Article class.
Top

  NameDescription
Public propertyArticleIdGets the article ID value.
Public propertyCachePropertyChangesGets or sets whether to cache changes made to the replication properties or to apply them immediately. (Inherited from ReplicationObject.)
Public propertyConnectionContextGets or sets the connection to an instance of Microsoft SQL Server. (Inherited from ReplicationObject.)
Protected propertyCreateArticleAsHeterogeneousGets or sets a value that indicates whether to create an article as heterogeneous.
Public propertyCreationScriptGets or sets the name and full path of the Transact-SQL script file that is used to create the destination object at the Subscriber.
Public propertyDatabaseNameGets or sets the name of the database that contains the data and the objects that are published in the article.
Public propertyDescriptionGets or sets a textual description of the article.
Public propertyDestinationObjectNameGets or sets the database object that is the source database object for the article at the Subscriber.
Public propertyDestinationObjectOwnerGets or sets the schema owner of the source database object for the article at the Subscriber.
Public propertyIdentityRangeManagementOptionGets or sets the identity range management options for the article.
Public propertyIdentityRangeThresholdGets or sets the value at which a new range of identity column values are assigned to a Publisher or to a Subscriber.
Public propertyIsExistingObjectGets whether the object exists on the server or not. (Inherited from ReplicationObject.)
Public propertyNameGets or sets the name of the article.
Public propertyPreCreationMethodGets or sets the action to take when the published object already exists in the subscription database.
Public propertyPublicationNameGets or sets the name of the publication to which the article belongs.
Public propertyPublisherIdentityRangeSizeFor 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.
Public propertySchemaOptionGets or sets the schema creation options for an article.
Public propertySourceObjectNameGets or sets the name of the database object that is being published.
Public propertySourceObjectOwnerGets or sets the owner of the database object that is being published.
Public propertySqlServerNameGets the name of the Microsoft SQL Server instance to which this object is connected. (Inherited from ReplicationObject.)
Public propertySubscriberIdentityRangeSizeGets 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.
Public propertyTypeGets or sets the type of article.
Public propertyUserDataGets or sets an object property that allows users to attach their own data to the object. (Inherited from ReplicationObject.)
Public propertyVerticalPartitionGets a value that indicates whether all columns are published in a table article.
Top

  NameDescription
Protected methodCheckValidCreationInfrastructure. Checks the valid article creation. (Overrides ReplicationObject.CheckValidCreation().)
Protected methodCheckValidDefinitionInfrastructure. Indicates whether the definition is valid. (Overrides ReplicationObject.CheckValidDefinition(Boolean).)
Public methodCommitPropertyChangesSends all the cached property change statements to the instance of Microsoft SQL Server. (Inherited from ReplicationObject.)
Public methodCreateCreates a new article on the currently connected instance of SQL Server based on the current properties of the TransArticle object or the MergeArticle object.
Public methodDecoupleDecouples the referenced replication object from the server. (Inherited from ReplicationObject.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Protected methodGetChangeCommandInfrastructure. Returns the change command from the replication. (Inherited from ReplicationObject.)
Protected methodGetCreateCommandInfrastructure. Returns the create command from the replication. (Inherited from ReplicationObject.)
Protected methodGetDropCommandInfrastructure. Returns the drop command from the replication. (Inherited from ReplicationObject.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodInternalRefreshInfrastructure. Initiates an internal refresh from the replication. (Inherited from ReplicationObject.)
Public methodLoadLoads the properties of an existing object from the server. (Inherited from ReplicationObject.)
Public methodLoadPropertiesLoads the properties of an existing object from the server. (Inherited from ReplicationObject.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRefreshReloads the properties of the object. (Inherited from ReplicationObject.)
Public methodRemoveRemoves an existing article on the currently connected instance of SQL Server based on the current properties of the TransArticle object or the MergeArticle object.
Public methodScriptGenerates a Transact-SQL script that can be executed to create or delete the TransArticle object or the MergeArticle object on the server.
Public methodToString (Inherited from Object.)
Top

The Article class represents article properties and behaviors that are common to articles published in transactional and merge replication topologies.

Articles published from a non-SQL Server Publisher are represented by the DistributionArticle class.

Thread Safety

Public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. 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.

Community Additions

ADD
Show:
© 2014 Microsoft