ReplicationDatabase.EnumMergePublications 메서드

Returns a list of merge publications that use the replication database.

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

public ArrayList EnumMergePublications()

EnumMergePublications should only be called on a publication database.

EnumMergePublications returns all merge publications for members of the db_owner and replmonitor fixed database roles. For all other users, EnumMergePublications returns only publications for which the user is a member of the publication access list (PAL).

Calling EnumMergePublications is equivalent to executing sp_helpmergepublication(Transact-SQL).