Share via


MergePublication.MergeSubscriptions Property

Gets the subscriptions that belong to a merge publication.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public ReadOnly Property MergeSubscriptions As MergeSubscriptionCollection 
    Get
'Usage
Dim instance As MergePublication 
Dim value As MergeSubscriptionCollection 

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

Property Value

Type: Microsoft.SqlServer.Replication.MergeSubscriptionCollection
The collection of subscriptions that belong to a merge publication.

Remarks

A MergeSubscription object in the collection can be accessed from MergeSubscriptions using an [Int32] index value or using a String index that is the Name property of the article.

The MergeSubscriptions property can be retrieved by members of the db_owner or replmonitor fixed database roles on the publication database or by members of the publication access list (PAL) for the publication.

Retrieving MergeSubscriptions is equivalent to executing sp_helpmergepublication.

See Also

Reference

MergePublication Class

Microsoft.SqlServer.Replication Namespace