PullSubscription.SubscriptionId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the subscription ID value.
public:
property System::String ^ SubscriptionId { System::String ^ get(); };
public string SubscriptionId { get; }
member this.SubscriptionId : string
Public ReadOnly Property SubscriptionId As String
Property Value
A String value that represents a unique identifier.
Remarks
The <xref:Microsoft.SqlServer.Replication.PullSubscription.AgentJobID%2A> property is a read-only property.
The <xref:Microsoft.SqlServer.Replication.PullSubscription.SubscriptionID%2A> property can only be retrieved by members of the sysadmin
fixed server role at the Subscriber or by members of the db_owner
fixed database role on the subscription database.
Retrieving the <xref:Microsoft.SqlServer.Replication.PullSubscription.SubscriptionID%2A> property is equivalent to executing sp_helppullsubscription (Transact-SQL) or sp_helpmergepullsubscription (Transact-SQL).