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.