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
public MergeSubscriptionCollection MergeSubscriptions { get; }
public:
property MergeSubscriptionCollection^ MergeSubscriptions {
    MergeSubscriptionCollection^ get ();
}
/** @property */
public MergeSubscriptionCollection get_MergeSubscriptions ()
public function get MergeSubscriptions () : MergeSubscriptionCollection

Property Value

A MergeSubscriptionCollection.

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.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MergePublication Class
MergePublication Members
Microsoft.SqlServer.Replication Namespace