EnumDistributionPublications 方法
Returns information stored at the Distributor about publications at this Publisher.
命名空间: Microsoft.SqlServer.Replication
程序集: Microsoft.SqlServer.Rmo(在 Microsoft.SqlServer.Rmo.dll 中)
语法
声明
Public Function EnumDistributionPublications As ArrayList
用法
Dim instance As DistributionPublisher
Dim returnValue As ArrayList
returnValue = instance.EnumDistributionPublications()
public ArrayList EnumDistributionPublications()
public:
ArrayList^ EnumDistributionPublications()
member EnumDistributionPublications : unit -> ArrayList
public function EnumDistributionPublications() : ArrayList
返回值
类型:System.Collections. . :: . .ArrayList
An ArrayList of DistributionPublication objects.
注释
The EnumDistributionPublications method can only be called by members of the db_owner or replmonitor fixed database roles on the distribution database or by a user in the publication access list (PAL) for a publication.
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.