Поделиться через


Свойство PublisherDatabase

Gets or sets the name of the publication database.

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

Синтаксис

'Декларация
Public Overridable Property PublisherDatabase As String
    Get
    Set
'Применение
Dim instance As TransSynchronizationAgent
Dim value As String

value = instance.PublisherDatabase

instance.PublisherDatabase = value
public virtual string PublisherDatabase { get; set; }
public:
virtual property String^ PublisherDatabase {
    String^ get ();
    void set (String^ value);
}
abstract PublisherDatabase : string with get, set
override PublisherDatabase : string with get, set
function get PublisherDatabase () : String
function set PublisherDatabase (value : String)

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

Тип: System. . :: . .String
A String value.

Реализует

ITransSynchronizationAgent. . :: . .PublisherDatabase

Замечания

PublisherDatabase is a required property. An exception is thrown if PublisherDatabase is null Nothing nullptr unit пустая ссылка (Nothing в Visual Basic) .