EnumMergePublications メソッド

レプリケーション データベースを使用するマージ パブリケーションの一覧を返します。

名前空間:  Microsoft.SqlServer.Replication
アセンブリ:  Microsoft.SqlServer.Rmo (Microsoft.SqlServer.Rmo.dll)

構文

'宣言
Public Function EnumMergePublications As ArrayList
'使用
Dim instance As ReplicationDatabase
Dim returnValue As ArrayList

returnValue = instance.EnumMergePublications()
public ArrayList EnumMergePublications()
public:
ArrayList^ EnumMergePublications()
member EnumMergePublications : unit -> ArrayList 
public function EnumMergePublications() : ArrayList

戻り値

型: System.Collections. . :: . .ArrayList
MergePublication オブジェクトの ArrayList です。

説明

パブリケーション データベースでのみ、EnumMergePublications を呼び出すことができます。

EnumMergePublications は、固定データベース ロール db_owner および replmonitor のメンバに対するすべてのマージ パブリケーションを返します。他のすべてのユーザーについては、EnumMergePublications は、パブリケーション アクセス リスト (PAL) のメンバであるユーザーのパブリケーションのみを返します。

EnumMergePublications を呼び出すと、sp_helpmergepublication (Transact-SQL) を実行したのと同じことになります。

この名前空間、クラス、またはメンバは、.NET Framework 2.0 でのみサポートされています。