MergePublication 建構函式
Creates a new instance of the MergePublication class.
此成員已超載。如需此成員完整的詳細資訊 (包括語法、使用狀況及範例),按一下多載清單中的名稱。
多載 清單
名稱 | 說明 | |
---|---|---|
MergePublication() () () () | Creates a new instance of the MergePublication class. | |
MergePublication(String, String, ServerConnection) | Initializes a new instance of the MergePublication class with the specified name, database, and connection to the Publisher. | |
MergePublication(String, String, ServerConnection, Boolean) | Creates an instance of the MergePublication class, specifying whether the Snapshot Agent job should be created by default. |
上層
備註
更新的文字: 2006 年 7 月 17 日
The following table shows the default property values for a new instance of MergePublication. Any properties that are not explicitly enumerated in this table are initialized to a null Nothing nullptr unit null 參考 (在 Visual Basic 中為 Nothing) value.
Property |
Default value |
---|---|
Values of AllowPush, CentralizedConflicts, DecentralizedConflicts, IndependentAgent, ImmediateSync, and AllowPartitionRealignment for |
|
A value of Reinitialize for AutomaticReinitializationPolicies |
|
false |
|
A value of LatestVersion for PublicationCompatibilityLevel |
|
14 (days) |
|
false |
|
21 |
|
false |
|
false |
|
0 (no maximum) |
|
0 (no maximum) |
|
A value of AutoSet for PartitionGroupsOption |
|
100 |
|
A value of All for DdlReplicationOptions |
|
14 (days) |
|
A value of Days for RetentionPeriodUnits |
|
false |
|
false |
|
A value of true for WindowsAuthentication |
|
A value of BcpNative for InitialSyncType |
|
A value of 99991231 for ActiveEndDate A value of 235959 for ActiveEndTime A value of the publication creation date for ActiveStartDate A value of 500 for ActiveStartTime A value of 14 for FrequencyInterval A value of 0 for FrequencyRecurrenceFactor A value of First for FrequencyRelativeInterval A value of Once for FrequencySubDay A value of 5 for FrequencySubDayInterval A value of Daily for FrequencyType |
|
A value of Active for State |
|
A value of Merge for PublicationType |
|
false |
1 The FTP (file transfer protocol) port is used only when you transfer snapshots by using FTP. For more information, see 透過 FTP 傳送快照集.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.