Share via


MergeArticle Constructors

Definition

Creates a new instance of the MergeArticle class.

Overloads

MergeArticle()

Creates a new instance of the MergeArticle class.

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.

Remarks

Updated text: 17 July 2006

The following table shows the default property values for a new instance of MergeArticle. Any properties that are not explicitly enumerated in this table are initialized to a null value.

Property Default value
AllowInteractiveResolver false
CachePropertyChanges false
CheckPermissions A value of NoCheck for CheckPermissionOptions
ColumnTracking false
CompensateForErrors false
DeleteTracking true
IdentityRangeManagementOption A value of Manual for IdentityRangeManagementOption
IsExistingObject false
MultipleColumnUpdate true
PartitionOption A value of Overlapping for PartitionOptions
PreCreationMethod A value of Drop for PreCreationOption
ProcessingOrder 0
SchemaOption A value of PrimaryObject for CreationScriptOptions
Status A value of Unsynchronized for MergeArticleState
StreamBlobColumns false
SubscriberUploadOption A value of AllowUpload for SubscriberUploadOptions
Type A value of TableBased for ArticleOptions
VerifyResolverSignature A value of TrustedAuthority for VerifyResolverSignatureOption
VerticalPartition false

MergeArticle()

Creates a new instance of the MergeArticle class.

public:
 MergeArticle();
public MergeArticle ();
Public Sub New ()

Remarks

The default constructor initializes any fields to their default values.

Applies to

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.

public:
 MergeArticle(System::String ^ name, System::String ^ publicationName, System::String ^ databaseName, Microsoft::SqlServer::Management::Common::ServerConnection ^ connectionContext);
public MergeArticle (string name, string publicationName, string databaseName, Microsoft.SqlServer.Management.Common.ServerConnection connectionContext);
new Microsoft.SqlServer.Replication.MergeArticle : string * string * string * Microsoft.SqlServer.Management.Common.ServerConnection -> Microsoft.SqlServer.Replication.MergeArticle
Public Sub New (name As String, publicationName As String, databaseName As String, connectionContext As ServerConnection)

Parameters

name
String

A String value that specifies the name of the merge article.

publicationName
String

A String value that specifies the publication that is associated with the merge article.

databaseName
String

A String value that specifies the database that is associated with the merge article.

connectionContext
ServerConnection

A ServerConnection object that specifies the connection context that is used to establish a connection with the instance of SQL Server.

Applies to