Megosztás a következőn keresztül:


MergeSynchronizationAgent.PublisherDatabase Property

Gets or sets the name of the publication database.

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

Syntax

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

Property Value

Type: System.String
A String value.

Implements

IMergeSynchronizationAgent.PublisherDatabase

Remarks

PublisherDatabase is a required property. An exception is thrown if PublisherDatabase is nulla null reference (Nothing in Visual Basic).