共用方式為


IMergeSynchronizationAgent.SubscriptionType 屬性

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

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)

語法

'宣告
Property SubscriptionType As SubscriptionOption 
    Get 
    Set
'用途
Dim instance As IMergeSynchronizationAgent 
Dim value As SubscriptionOption 

value = instance.SubscriptionType

instance.SubscriptionType = value
SubscriptionOption SubscriptionType { get; set; }
property SubscriptionOption SubscriptionType {
    SubscriptionOption get ();
    void set (SubscriptionOption value);
}
abstract SubscriptionType : SubscriptionOption with get, set
function get SubscriptionType () : SubscriptionOption 
function set SubscriptionType (value : SubscriptionOption)

屬性值

型別:Microsoft.SqlServer.Replication.SubscriptionOption
A SubscriptionOption value that indicates the subscription type.

請參閱

參考

IMergeSynchronizationAgent 介面

Microsoft.SqlServer.Replication 命名空間