Поделиться через


Элементы Article

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

Тип Article предоставляет доступ к следующим элементам.

Конструкторы

  Имя Описание
Защищенный метод Article Initializes a new instance of the Article class.

В начало

Методы

  Имя Описание
Защищенный метод CheckValidCreation Инфраструктура. (Перезаписывает ReplicationObject. . :: . .CheckValidCreation() () () ().)
Защищенный метод CheckValidDefinition Инфраструктура. (Перезаписывает ReplicationObject. . :: . .CheckValidDefinition(Boolean).)
Открытый метод CommitPropertyChanges Sends all the cached property change statements to the instance of Microsoft SQL Server. (Наследуется из ReplicationObject.)
Открытый метод 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.
Открытый метод Decouple Decouples the referenced replication object from the server. (Наследуется из ReplicationObject.)
Открытый метод Equals (Наследуется из Object.)
Защищенный метод Finalize (Наследуется из Object.)
Защищенный метод GetChangeCommand Инфраструктура. (Наследуется из ReplicationObject.)
Защищенный метод GetCreateCommand Инфраструктура. (Наследуется из ReplicationObject.)
Защищенный метод GetDropCommand Инфраструктура. (Наследуется из ReplicationObject.)
Открытый метод GetHashCode (Наследуется из Object.)
Открытый метод GetType (Наследуется из Object.)
Защищенный метод InternalRefresh Инфраструктура. (Наследуется из ReplicationObject.)
Открытый метод Load Loads the properties of an existing object from the server. (Наследуется из ReplicationObject.)
Открытый метод LoadProperties Loads the properties of an existing object from the server. (Наследуется из ReplicationObject.)
Защищенный метод MemberwiseClone (Наследуется из Object.)
Открытый метод Refresh Reloads the properties of the object. (Наследуется из ReplicationObject.)
Открытый метод 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.
Открытый метод Script Generates a Transact-SQL script that can be executed to create or delete the TransArticle object or the MergeArticle object on the server.
Открытый метод ToString (Наследуется из Object.)

В начало

Свойства

  Имя Описание
Открытое свойство ArticleId Gets the article ID value.
Открытое свойство CachePropertyChanges Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (Наследуется из ReplicationObject.)
Открытое свойство ConnectionContext Gets or sets the connection to an instance of Microsoft SQL Server. (Наследуется из ReplicationObject.)
Защищенное свойство CreateArticleAsHeterogeneous
Открытое свойство 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.
Открытое свойство DatabaseName Gets or sets the name of the database that contains the data and the objects that are published in the article.
Открытое свойство Description Gets or sets a textual description of the article.
Открытое свойство DestinationObjectName Gets or sets the database object that is the source database object for the article at the Subscriber.
Открытое свойство DestinationObjectOwner Gets or sets the schema owner of the source database object for the article at the Subscriber.
Открытое свойство IdentityRangeManagementOption Gets or sets the identity range management options for the article.
Открытое свойство IdentityRangeThreshold Gets or sets the value at which a new range of identity column values are assigned to a Publisher or to a Subscriber.
Открытое свойство IsExistingObject Gets whether the object exists on the server or not. (Наследуется из ReplicationObject.)
Открытое свойство Name Gets or sets the name of the article.
Открытое свойство PreCreationMethod Gets or sets the action to take when the published object already exists in the subscription database.
Открытое свойство PublicationName Gets or sets the name of the publication to which the article belongs.
Открытое свойство 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.
Открытое свойство SchemaOption Gets or sets the schema creation options for an article.
Открытое свойство SourceObjectName Gets or sets the name of the database object that is being published.
Открытое свойство SourceObjectOwner Gets or sets the owner of the database object that is being published.
Открытое свойство SqlServerName Gets the name of the Microsoft SQL Server instance to which this object is connected. (Наследуется из ReplicationObject.)
Открытое свойство 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.
Открытое свойство Type Gets or sets the type of article.
Открытое свойство UserData Gets or sets an object property that allows users to attach their own data to the object. (Наследуется из ReplicationObject.)
Открытое свойство VerticalPartition Specifies whether all columns are published in a table article.

В начало