Proprietà TransSynchronizationAgent.PublisherDatabase

Gets or sets the name of the publication database.

Spazio dei nomi  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Sintassi

'Dichiarazione
Public Overridable Property PublisherDatabase As String 
    Get 
    Set
'Utilizzo
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)

Valore proprietà

Tipo: System.String
The name of the publication database.

Implementa

ITransSynchronizationAgent.PublisherDatabase

Osservazioni

PublisherDatabase is a required property. An exception is thrown if PublisherDatabase is nullriferimento Null (Nothing in Visual Basic)..

Vedere anche

Riferimento

TransSynchronizationAgent Classe

Spazio dei nomi Microsoft.SqlServer.Replication