다음을 통해 공유


ReplicationServer.DistributionPublishers 속성

Gets the Publishers that use the currently connected instance of Microsoft SQL Server as a Distributor.

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

구문

‘선언
Public ReadOnly Property DistributionPublishers As DistributionPublisherCollection 
    Get
‘사용 방법
Dim instance As ReplicationServer 
Dim value As DistributionPublisherCollection 

value = instance.DistributionPublishers
public DistributionPublisherCollection DistributionPublishers { get; }
public:
property DistributionPublisherCollection^ DistributionPublishers {
    DistributionPublisherCollection^ get ();
}
member DistributionPublishers : DistributionPublisherCollection
function get DistributionPublishers () : DistributionPublisherCollection

속성 값

유형: Microsoft.SqlServer.Replication.DistributionPublisherCollection
A DistributionPublisherCollection object that represents all the Publishers using the replication server as a Distributor.

주의

A DistributionPublisher object in the returned DistributionPublisherCollection can be accessed using either an integer or a string indexer.

The DistributionServer property is equivalent to the sp_helpdistpublisher(Transact-SQL) stored procedure.

The DistributionPublishers property can be retrieved by members of the sysadmin fixed server role for any Publisher using the local server as a Distributor; members of the db_owner fixed database role or the replmonitor role in a distribution database for any Publisher using the Distributor; and users in the publication access list (PAL) for any publication serviced by the Distributor.

참고 항목

참조

ReplicationServer 클래스

Microsoft.SqlServer.Replication 네임스페이스