共用方式為


MergeSubscription 建構函式

包含保護的成員
包含繼承的成員

Creates a new instance of the MergeSubscription class.

此成員已超載。如需此成員完整的詳細資訊 (包括語法、使用狀況及範例),按一下多載清單中的名稱。

多載 清單

  名稱 說明
公用方法 MergeSubscription() Creates a new instance of the MergeSubscription class.
公用方法 MergeSubscription(String, String, String, String, ServerConnection) Creates a new instance of the MergeSubscription class with the specified connection to the Publisher and the properties that uniquely define the subscription.

上層

備註

更新的文字:   2006 年 7 月 17 日

The following table shows the default property values for a new instance of MergeSubscription. Any properties that are not explicitly enumerated in this table are initialized to a nullnull 參考 (在 Visual Basic 中為 Nothing) value.

Property

Default value

AgentOffload

false

AgentSchedule

A value of 99991231 for ActiveEndDate

A value of 235959 for ActiveEndTime

A value of 0 for ActiveStartDate

A value of 0 for ActiveStartTime

A value of 1 for FrequencyInterval

A value of 0 for FrequencyRecurrenceFactor

A value of First for FrequencyRelativeInterval

A value of Hour for FrequencySubDay

A value of 1 for FrequencySubDayInterval

A value of Daily for FrequencyType

CachePropertyChanges

false

CreateSyncAgentByDefault

true

EnabledForSynchronizationManager

false

IsExistingObject

false

Priority

0

PublisherSecurity

A value of true for WindowsAuthentication

Status

A value of Inactive for SubscriptionState

SubscriberSecurity

A value of true for WindowsAuthentication

SubscriberType

A value of Local for MergeSubscriberType

SubscriptionType

A value of Push for SubscriptionOption

SynchronizationAgent

An instance of MergeSynchronizationAgent from the publication that is associated with the subscription you create.

SyncType

A value of Automatic for SubscriptionSyncType

UseInteractiveResolver

false

請參閱

參考

MergeSubscription 類別

Microsoft.SqlServer.Replication 命名空間