DistributionArticle Members
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 | |
---|---|---|
ArticleId | Gets or sets the ID value for the article. | |
CachePropertyChanges | Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (inherited from ReplicationObject) | |
ConnectionContext | Gets or sets the connection to an instance of Microsoft SQL Server. (inherited from ReplicationObject) | |
Description | Gets or sets a description for the article. | |
DistributionDBName | Gets or sets the name of the distribution database that contains the article metadata. | |
IsExistingObject | Gets whether the object exists on the server or not. (inherited from ReplicationObject) | |
Name | Gets or sets the name of the article. | |
PublicationDBName | Gets or sets the name of the publication database. | |
PublicationName | Gets or sets the name of the publication that contains the article. | |
PublisherName | Gets or sets the name of the Publisher. | |
SourceObjectName | Gets or sets the database object that provides the article data. | |
SourceObjectOwner | Gets or sets the owner of the database object that provides the article data. | |
SqlServerName | Gets the name of the Microsoft SQL Server instance to which this object is connected. (inherited from ReplicationObject) | |
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 | |
---|---|---|
CommitPropertyChanges | Sends all the cached property change statements to the instance of Microsoft SQL Server. (inherited from ReplicationObject) | |
Create | Creates the article metadata at the Distributor. | |
Decouple | Decouples the referenced replication object from the server. (inherited from ReplicationObject) | |
Equals | Overloaded. (inherited from Object ) | |
GetHashCode | (inherited from Object ) | |
GetType | (inherited from Object ) | |
Load | Loads the properties of an existing object from the server. (inherited from ReplicationObject) | |
LoadProperties | Loads the properties of an existing object from the server. (inherited from ReplicationObject) | |
ReferenceEquals | (inherited from Object ) | |
Refresh | Reloads the properties of the object. (inherited from ReplicationObject) | |
Remove | Removes article metadata from the Distributor. | |
Script | Generates a Transact-SQL script that can be used to create or delete the article with the specified properties. | |
ToString | (inherited from Object ) |
顶部
Protected Methods
名称 | Description | |
---|---|---|
CheckValidCreation | (inherited from ReplicationObject ) | |
CheckValidDefinition | (inherited from ReplicationObject ) | |
Finalize | (inherited from Object ) | |
GetChangeCommand | (inherited from ReplicationObject ) | |
GetCreateCommand | (inherited from ReplicationObject ) | |
GetDropCommand | (inherited from ReplicationObject ) | |
InternalRefresh | (inherited from ReplicationObject ) | |
MemberwiseClone | (inherited from Object ) |
顶部
请参阅
参考
DistributionArticle Class
Microsoft.SqlServer.Replication Namespace