MergePublication.EnumMergePartitions Method
Returns the Subscriber partitions defined for this merge publication.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Syntax
'Declaration
Public Function EnumMergePartitions As ArrayList
'Usage
Dim instance As MergePublication
Dim returnValue As ArrayList
returnValue = instance.EnumMergePartitions()
public ArrayList EnumMergePartitions()
public:
ArrayList^ EnumMergePartitions()
member EnumMergePartitions : unit -> ArrayList
public function EnumMergePartitions() : ArrayList
Return Value
Type: System.Collections.ArrayList
An ArrayList of Subscriber partitions for this merge publication.
Remarks
Calling EnumMergePartitions is equivalent to executing sp_helpmergepartition.
The EnumMergePartitions method can only be called by members of the sysadmin fixed server role at the Publisher or by members of the db_owner fixed database role on the publication database.
See Also
Reference
Microsoft.SqlServer.Replication Namespace
Other Resources
NIB Create a Snapshot for a Merge Publication with Parameterized Filters (RMO Programming)
NIB How to: Manage Partitions for a Merge Publication with Parameterized Filters (RMO Programming)