共用方式為


TransPublication.TransSubscriptions 屬性

Represents subscriptions to the publication.

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

語法

'宣告
Public ReadOnly Property TransSubscriptions As TransSubscriptionCollection 
    Get
'用途
Dim instance As TransPublication 
Dim value As TransSubscriptionCollection 

value = instance.TransSubscriptions
public TransSubscriptionCollection TransSubscriptions { get; }
public:
property TransSubscriptionCollection^ TransSubscriptions {
    TransSubscriptionCollection^ get ();
}
member TransSubscriptions : TransSubscriptionCollection
function get TransSubscriptions () : TransSubscriptionCollection

屬性值

型別:Microsoft.SqlServer.Replication.TransSubscriptionCollection
A TransSubscriptionCollection object.

備註

The TransSubscriptions property can only be retrieved by members of the sysadmin fixed server role at the Publisher, by members of the db_owner fixed database role on the publication database, or by a user that created a subscription to the publication.

Retrieving the TransSubscriptions property is equivalent to executing sp_helparticle.

請參閱

參考

TransPublication 類別

Microsoft.SqlServer.Replication 命名空間