Share via


MergeSynchronizationAgent.SubscriptionType Property

Gets or sets whether the subscription is a push or pull subscription.

네임스페이스: Microsoft.SqlServer.Replication
어셈블리: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

구문

‘선언
Public Overridable Property SubscriptionType As SubscriptionOption
public virtual SubscriptionOption SubscriptionType { get; set; }
public:
virtual property SubscriptionOption SubscriptionType {
    SubscriptionOption get ();
    void set (SubscriptionOption newValue);
}
/** @property */
public SubscriptionOption get_SubscriptionType ()

/** @property */
public void set_SubscriptionType (SubscriptionOption newValue)
public function get SubscriptionType () : SubscriptionOption

public function set SubscriptionType (newValue : SubscriptionOption)

속성 값

A SubscriptionOption value that indicates the subscription type.

주의

The type of subscription you choose depends on where the agent runs. With a push subscription, the Merge Agent runs at the Distributor; whereas, with a pull subscription, agent runs at the Subscriber. Anonymous subscriptions are required if you want to create a subscription without registering the subscription at the Publisher. This is necessary for cases such as Web synchronization, in which you cannot establish a SQL Server connection to the Publisher during subscription configuration.

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

MergeSynchronizationAgent Class
MergeSynchronizationAgent Members
Microsoft.SqlServer.Replication Namespace

관련 자료

게시 구독