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 | |
|---|---|---|
| .gif) | ArticleId | Gets or sets the ID value for the article. | 
| .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) | Description | Gets or sets a description for the article. | 
| .gif) | DistributionDBName | Gets or sets the name of the distribution database that contains the article metadata. | 
| .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) | PublicationDBName | Gets or sets the name of the publication database. | 
| .gif) | PublicationName | Gets or sets the name of the publication that contains the article. | 
| .gif) | PublisherName | Gets or sets the name of the Publisher. | 
| .gif) | SourceObjectName | Gets or sets the database object that provides the article data. | 
| .gif) | SourceObjectOwner | Gets or sets the owner of the database object that provides the article data. | 
| .gif) | SqlServerName | Gets the name of the Microsoft SQL Server instance to which this object is connected. (inherited from ReplicationObject) | 
| .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 | |
|---|---|---|
| .gif) | CommitPropertyChanges | Sends all the cached property change statements to the instance of Microsoft SQL Server. (inherited from ReplicationObject) | 
| .gif) | Create | Creates the article metadata at the Distributor. | 
| .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 article metadata from the Distributor. | 
| .gif) | Script | Generates a Transact-SQL script that can be used to create or delete the article with the specified properties. | 
| .gif) | ToString | (inherited from Object ) | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
| .gif) | CheckValidCreation | (inherited from ReplicationObject ) | 
| .gif) | CheckValidDefinition | (inherited from ReplicationObject ) | 
| .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 ) | 
顶部
请参阅
参考
DistributionArticle Class
Microsoft.SqlServer.Replication Namespace