Partager via


PublisherDatabase propriété

Gets or sets the name of the publication database.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Replication (dans Microsoft.SqlServer.Replication.dll)

Syntaxe

'Déclaration
Public Overridable Property PublisherDatabase As String
    Get
    Set
'Utilisation
Dim instance As MergeSynchronizationAgent
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)

Valeur de la propriété

Type : System. . :: . .String
A String value.

Implémente

IMergeSynchronizationAgent. . :: . .PublisherDatabase

Notes

PublisherDatabase is a required property. An exception is thrown if PublisherDatabase is null Nothing nullptr unit une référence Null (Nothing dans Visual Basic) .