Condividi tramite


MergeSubscription Constructor

Creates a new instance of the MergeSubscription class.

Osservazioni

Testo aggiornato: 17 luglio 2006

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 null 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

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Elenco degli overload

Nome Description
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.

Vedere anche

Riferimento

MergeSubscription Class
MergeSubscription Members
Microsoft.SqlServer.Replication Namespace

Altre risorse

Procedura: Creazione di una sottoscrizione push (programmazione RMO)