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
| 名称 | Description | |
|---|---|---|
| Article | Initializes a new instance of the Article class. | 
顶部
Public Properties
(see also Protected Properties )
| 名称 | Description | |
|---|---|---|
| .gif) | ArticleId | Gets the article ID value. | 
| .gif) | CachePropertyChanges | Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (inherited from ReplicationObject) | 
| .gif) | ConnectionContext | Gets or sets the connection to an instance of Microsoft SQL Server. (inherited from ReplicationObject) | 
| .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. | 
| .gif) | DatabaseName | Gets or sets the name of the database that contains the data and the objects that are published in the article. | 
| .gif) | Description | Gets or sets a textual description of the article. | 
| .gif) | DestinationObjectName | Gets or sets the database object that is the source database object for the article at the Subscriber. | 
| .gif) | DestinationObjectOwner | Gets or sets the schema owner of the source database object for the article at the Subscriber. | 
| .gif) | IdentityRangeManagementOption | Gets or sets the identity range management options for the article. | 
| .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. | 
| .gif) | IsExistingObject | Gets whether the object exists on the server or not. (inherited from ReplicationObject) | 
| .gif) | Name | Gets or sets the name of the article. | 
| .gif) | PreCreationMethod | Gets or sets the action to take when the published object already exists in the subscription database. | 
| .gif) | PublicationName | Gets or sets the name of the publication to which the article belongs. | 
| .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. | 
| .gif) | SchemaOption | Gets or sets the schema creation options for an article. | 
| .gif) | SourceObjectName | Gets or sets the name of the database object that is being published. | 
| .gif) | SourceObjectOwner | Gets or sets the owner of the database object that is being published. | 
| .gif) | SqlServerName | Gets the name of the Microsoft SQL Server instance to which this object is connected. (inherited from ReplicationObject) | 
| .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. | 
| .gif) | Type | Gets or sets the type of article. | 
| .gif) | UserData | Gets or sets an object property that allows users to attach their own data to the object. (inherited from ReplicationObject) | 
| .gif) | VerticalPartition | Specifies whether all columns are published in a table article. | 
顶部
Protected Properties
| 名称 | Description | |
|---|---|---|
| .gif) | CreateArticleAsHeterogeneous | 
顶部
Public Methods
(see also Protected Methods )
| 名称 | Description | |
|---|---|---|
| .gif) | CommitPropertyChanges | Sends all the cached property change statements to the instance of Microsoft SQL Server. (inherited from ReplicationObject) | 
| .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. | 
| .gif) | Decouple | Decouples the referenced replication object from the server. (inherited from ReplicationObject) | 
| .gif) | Equals | Overloaded. (inherited from Object ) | 
| .gif) | GetHashCode | (inherited from Object ) | 
| .gif) | GetType | (inherited from Object ) | 
| .gif) | Load | Loads the properties of an existing object from the server. (inherited from ReplicationObject) | 
| .gif) | LoadProperties | Loads the properties of an existing object from the server. (inherited from ReplicationObject) | 
| .gif) .gif) | ReferenceEquals | (inherited from Object ) | 
| .gif) | Refresh | Reloads the properties of the object. (inherited from ReplicationObject) | 
| .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. | 
| .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. | 
| .gif) | ToString | (inherited from Object ) | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
| .gif) | CheckValidCreation | Overridden. | 
| .gif) | CheckValidDefinition | Overridden. | 
| .gif) | Finalize | (inherited from Object ) | 
| .gif) | GetChangeCommand | (inherited from ReplicationObject ) | 
| .gif) | GetCreateCommand | (inherited from ReplicationObject ) | 
| .gif) | GetDropCommand | (inherited from ReplicationObject ) | 
| .gif) | InternalRefresh | (inherited from ReplicationObject ) | 
| .gif) | MemberwiseClone | (inherited from Object ) | 
顶部
请参阅
参考
Article Class
Microsoft.SqlServer.Replication Namespace
其他资源
How to: Define an Article (RMO Programming)
How to: Delete an Article (RMO Programming)
How to: View and Modify Article Properties (RMO Programming)