MergeArticle 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立 MergeArticle 類別的新實例。
多載
| 名稱 | Description |
|---|---|
| MergeArticle() |
建立 MergeArticle 類別的新實例。 |
| MergeArticle(String, String, String, ServerConnection) |
建立一個新類別實例MergeArticle,包含指定名稱、發佈、資料庫,並連接到 Microsoft SQL Server 實例。 |
備註
更新文字:2006年7月17日
下表顯示了新實例 MergeArticle的預設屬性值。 未在本表中明確列舉的屬性會被初始化為一個 null 值。
| 房產 | 預設值 |
|---|---|
| AllowInteractiveResolver | false |
| CachePropertyChanges | false |
| CheckPermissions | 對於 的 NoCheck 值 CheckPermissionOptions |
| ColumnTracking | false |
| CompensateForErrors | false |
| DeleteTracking | true |
| IdentityRangeManagementOption | 對於 的 Manual 值 IdentityRangeManagementOption |
| IsExistingObject | false |
| MultipleColumnUpdate | true |
| PartitionOption | 對於 的 Overlapping 值 PartitionOptions |
| PreCreationMethod | 對於 的 Drop 值 PreCreationOption |
| ProcessingOrder | 0 |
| SchemaOption | 對於 的 PrimaryObject 值 CreationScriptOptions |
| Status | 對於 的 Unsynchronized 值 MergeArticleState |
| StreamBlobColumns | false |
| SubscriberUploadOption | 對於 的 AllowUpload 值 SubscriberUploadOptions |
| Type | 對於 的 TableBased 值 ArticleOptions |
| VerifyResolverSignature | 對於 的 TrustedAuthority 值 VerifyResolverSignatureOption |
| VerticalPartition | false |
MergeArticle()
建立 MergeArticle 類別的新實例。
public:
MergeArticle();
public MergeArticle();
Public Sub New ()
備註
預設建構子會將任何欄位初始化為其預設值。
適用於
MergeArticle(String, String, String, ServerConnection)
建立一個新類別實例MergeArticle,包含指定名稱、發佈、資料庫,並連接到 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)
參數
- connectionContext
- ServerConnection
一個ServerConnection指定連接上下文的物件,用來建立與 SQL Server 實例的連線。