Sdílet prostřednictvím


MergeArticle Members

Include Protected Members
Include Inherited Members

Represents an article in a merge publication.

The MergeArticle type exposes the following members.

Constructors

  Name Description
Public method MergeArticle() Creates a new instance of the MergeArticle class.
Public method MergeArticle(String, String, String, ServerConnection) Creates a new instance of the MergeArticle class with the specified name, publication, database, and connection to the instance of Microsoft SQL Server.

Top

Methods

  Name Description
Public method AddMergeJoinFilter(MergeJoinFilter) Adds a join filter to the merge article.
Public method AddReplicatedColumns(Array) Adds the specified columns to the merge article.
Public method ChangeMergeJoinFilter(MergeJoinFilter, MergeJoinFilter) Changes a join filter that defined on a merge article.
Protected method CheckValidCreation() Infrastructure. (Inherited from Article.)
Protected method CheckValidDefinition(Boolean) Infrastructure. (Inherited from Article.)
Public method CommitPropertyChanges() Sends all the cached property change statements to the instance of Microsoft SQL Server. (Inherited from ReplicationObject.)
Public method 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. (Inherited from Article.)
Public method Decouple() Decouples the referenced replication object from the server. (Inherited from ReplicationObject.)
Public method EnumMergeJoinFilters() Returns the join filters that are defined for the merge article.
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Protected method GetChangeCommand(StringBuilder, String, String) Infrastructure. (Inherited from ReplicationObject.)
Protected method GetCreateCommand(StringBuilder, Boolean, ScriptOptions) Infrastructure. (Inherited from ReplicationObject.)
Protected method GetDropCommand(StringBuilder, Boolean) Infrastructure. (Inherited from ReplicationObject.)
Public method GetHashCode() (Inherited from Object.)
Public method GetType() (Inherited from Object.)
Public method InitializeSharedPropertiesBasedOnExistingArticles() Infrastructure.
Protected method InternalRefresh(Boolean) Infrastructure. (Inherited from ReplicationObject.)
Public method ListReplicatedColumns() Returns the columns that exist in a vertically partitioned article.
Public method Load() Loads the properties of an existing object from the server. (Inherited from ReplicationObject.)
Public method LoadProperties() Loads the properties of an existing object from the server. (Inherited from ReplicationObject.)
Protected method MemberwiseClone() (Inherited from Object.)
Public method Refresh() Reloads the properties of the object. (Inherited from ReplicationObject.)
Public method 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. (Inherited from Article.)
Public method RemoveMergeJoinFilter(String) Removes the specified merge join filter from the article.
Public method RemoveReplicatedColumns(Array) Removes existing columns from a vertically partitioned article.
Public method Script(ScriptOptions) Generates a Transact-SQL script that can be executed to create or delete the TransArticle object or the MergeArticle object on the server. (Inherited from Article.)
Public method ScriptMergeJoinFilter(MergeJoinFilter, ScriptOptions) Returns a Transact-SQL script of the merge join filter attached to the merge article.
Public method ToString() (Inherited from Object.)

Top

Properties

  Name Description
Public property AllowInteractiveResolver Gets or sets whether to allow subscriptions to invoke an interactive resolver when conflicts occur during synchronization.
Public property ArticleId Gets the article ID value. (Inherited from Article.)
Public property ArticleResolver Gets or sets the friendly name of the custom conflict resolver or business logic handler used when synchronizing the article.
Public property CachePropertyChanges Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (Inherited from ReplicationObject.)
Public property CheckPermissions Gets or sets how the permissions are checked at the Publisher before changes are uploaded from a Subscriber.
Public property ColumnTracking Gets or sets how conflicts are detected when synchronizing data rows.
Public property CompensateForErrors Gets or sets whether compensating actions are taken when errors are encountered during synchronization.
Public property ConflictTable Gets the name of the table used to track conflicts that occur when synchronizing a merge article.
Public property ConnectionContext Gets or sets the connection to an instance of Microsoft SQL Server. (Inherited from ReplicationObject.)
Protected property CreateArticleAsHeterogeneous (Inherited from Article.)
Public property 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. (Inherited from Article.)
Public property DatabaseName Gets or sets the name of the database that contains the data and the objects that are published in the article. (Inherited from Article.)
Public property DeleteTracking Gets or sets whether deletes are replicated.
Public property Description Gets or sets a textual description of the article. (Inherited from Article.)
Public property DestinationObjectName Gets or sets the database object that is the source database object for the article at the Subscriber. (Inherited from Article.)
Public property DestinationObjectOwner Gets or sets the schema owner of the source database object for the article at the Subscriber. (Inherited from Article.)
Public property FilterClause Gets or sets the WHERE (Transact-SQL) clause that is evaluated to filter an article horizontally.
Public property IdentityRangeManagementOption Gets or sets the identity range management options for the article. (Inherited from Article.)
Public property IdentityRangeThreshold Gets or sets the value at which a new range of identity column values are assigned to a Publisher or to a Subscriber. (Inherited from Article.)
Public property IsExistingObject Gets whether the object exists on the server or not. (Inherited from ReplicationObject.)
Public property MultipleColumnUpdate Infrastructure.
Public property Name Gets or sets the name of the article. (Inherited from Article.)
Public property PartitionOption Gets or sets the filtering options when an article is filtered using a parameterized row filter.
Public property PreCreationMethod Gets or sets the action to take when the published object already exists in the subscription database. (Inherited from Article.)
Public property ProcessingOrder Gets or sets the processing order of the article during synchronization.
Public property PublicationName Gets or sets the name of the publication to which the article belongs. (Inherited from Article.)
Public property 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. (Inherited from Article.)
Public property ResolverInfo Gets or sets additional data and parameters that are to be used by a COM-based conflict resolver.
Public property SchemaOption Gets or sets the schema creation options for an article. (Inherited from Article.)
Public property SnapshotObjectName Gets the name of the database object that represents the initial snapshot data for the article.
Public property SnapshotObjectOwner Gets the owner of the database object that represents the initial snapshot data for the article.
Public property SourceObjectName Gets or sets the name of the database object that is being published. (Inherited from Article.)
Public property SourceObjectOwner Gets or sets the owner of the database object that is being published. (Inherited from Article.)
Public property SqlServerName Gets the name of the Microsoft SQL Server instance to which this object is connected. (Inherited from ReplicationObject.)
Public property Status Gets or sets the status of the merge article.
Public property StreamBlobColumns Gets or sets whether a data stream optimization is used when replicating binary large object (BLOB) columns.
Public property 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. (Inherited from Article.)
Public property SubscriberUploadOption Gets or sets the behavior of updates made at a Subscriber with a client subscription.
Public property Type Gets or sets the type of article. (Inherited from Article.)
Public property UserData Gets or sets an object property that allows users to attach their own data to the object. (Inherited from ReplicationObject.)
Public property VerifyResolverSignature Gets or sets the options for verifying the digital signature on a COM-based conflict resolver to determine if it is from a trusted source.
Public property VerticalPartition Specifies whether all columns are published in a table article. (Inherited from Article.)

Top