Partilhar via


Propriedade do RDL PublisherDatabase

Gets or sets the name of the publication database.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (em Microsoft.SqlServer.Replication.dll)

Sintaxe

'Declaração
Public Overridable Property PublisherDatabase As String
    Get
    Set
'Uso
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)

Valor da propriedade

Tipo: System. . :: . .String
A String value.

Implementa

ITransSynchronizationAgent. . :: . .PublisherDatabase

Comentários

PublisherDatabase is a required property. An exception is thrown if PublisherDatabase is null Nothing nullptr unit uma referência nula (Nothing no Visual Basic) .