MergePullSubscription 构造函数

包括受保护的成员
包括继承的成员

Creates a new instance of the MergePullSubscription class.

此成员被重载。有关此成员的完整信息,包括语法、用法和示例,请单击重载列表中的名称。

重载列表

  名称 说明
公共方法 MergePullSubscription() Creates a new instance of the MergePullSubscription class.
公共方法 MergePullSubscription(String, String, String, String, ServerConnection) Creates a new instance of the MergePullSubscription class with the specified database, Publisher, publication, and Subscriber connection.
公共方法 MergePullSubscription(String, String, String, String, ServerConnection, Boolean) Creates a new instance of the MergePullSubscription class with the specified database, Publisher, publication, Subscriber connection, and whether the agent job is created.

页首

注释

已更新的文本:   2006 年 7 月 17 日

The following table shows the default property values for a new instance of MergePullSubscription. 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 the subscription creation date 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

false

DistributorSecurity

A value of true for WindowsAuthentication

EnabledForSynchronizationManager

false

InternetSecurityMode

A value of true for WindowsAuthentication

InternetTimeout

300

IsExistingObject

false

Priority

0

PublisherSecurity

A value of true for WindowsAuthentication

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 PullSubscriptionSyncType

Type

A value of Merge for PublicationType

UseFtp

false

UseInteractiveResolver

false

UseWebSynchronization

false

请参阅

参考

MergePullSubscription 类

Microsoft.SqlServer.Replication 命名空间