共用方式為


TransPublication.TransSubscriptions Property

Definition

Represents subscriptions to the publication.

public:
 property Microsoft::SqlServer::Replication::TransSubscriptionCollection ^ TransSubscriptions { Microsoft::SqlServer::Replication::TransSubscriptionCollection ^ get(); };
public Microsoft.SqlServer.Replication.TransSubscriptionCollection TransSubscriptions { get; }
member this.TransSubscriptions : Microsoft.SqlServer.Replication.TransSubscriptionCollection
Public ReadOnly Property TransSubscriptions As TransSubscriptionCollection

Property Value

A TransSubscriptionCollection object.

Remarks

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.

Applies to