SubscriptionType 屬性
Gets or sets whether the Distribution agent runs at the Distributor (Push) or at the Subscriber (Pull).
命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)
語法
'宣告
Public Property SubscriptionType As SubscriptionOption
Get
Set
'用途
Dim instance As DistributionSubscription
Dim value As SubscriptionOption
value = instance.SubscriptionType
instance.SubscriptionType = value
public SubscriptionOption SubscriptionType { get; set; }
public:
property SubscriptionOption SubscriptionType {
SubscriptionOption get ();
void set (SubscriptionOption value);
}
member SubscriptionType : SubscriptionOption with get, set
function get SubscriptionType () : SubscriptionOption
function set SubscriptionType (value : SubscriptionOption)
備註
This property cannot be set for an existing subscription.
The SubscriptionType property can only be retrieved by members of the db_owner fixed database role on the distribution database.
The SubscriptionType property can be set by any user.
The SubscriptionType property is available with SQL Server 7.0, SQL Server 2000, and SQL Server 2005.
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.