Freigeben über


Publisher-Eigenschaft

Ruft den Namen der Microsoft SQL Server-Instanz ab, die für das Abonnement als Verleger auftritt, oder legt diesen fest.

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

Syntax

'Declaration
Public Overridable Property Publisher As String
    Get
    Set
'Usage
Dim instance As MergeSynchronizationAgent
Dim value As String

value = instance.Publisher

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

Eigenschaftswert

Typ: System. . :: . .String
Ein String-Wert.

Implementiert

IMergeSynchronizationAgent. . :: . .Publisher

Hinweise

Publisher is a required property. An exception is thrown if the Publisher property is set to null Nothing nullptr unit ein NULL-Verweis (Nothing in Visual Basic) .