Свойство PublisherMonitor.DistributionDatabase

Gets the name of the distribution database used by the Publisher.

Пространство имен:  Microsoft.SqlServer.Replication
Сборка:  Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)

Синтаксис

'Декларация
Public ReadOnly Property DistributionDatabase As String 
    Get
'Применение
Dim instance As PublisherMonitor 
Dim value As String 

value = instance.DistributionDatabase
public string DistributionDatabase { get; }
public:
property String^ DistributionDatabase {
    String^ get ();
}
member DistributionDatabase : string
function get DistributionDatabase () : String

Значение свойства

Тип: System.String
A String value that specifies the name of the distribution database used by the Publisher.

Замечания

The DistributionDatabase property can only be retrieved by members of the sysadmin fixed server role at the Distributor or by members of the db_owner or replmonitor fixed database roles on the distribution database

См. также

Справочник

PublisherMonitor Класс

Пространство имен Microsoft.SqlServer.Replication