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