Condividi tramite


Proprietà TransSynchronizationAgent.Publisher

Gets or sets the name of the instance of Microsoft SQL Server that is the Publisher for the subscription.

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

Sintassi

'Dichiarazione
Public Overridable Property Publisher As String 
    Get 
    Set
'Utilizzo
Dim instance As TransSynchronizationAgent 
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)

Valore proprietà

Tipo: System.String
The name of the instance of Microsoft SQL Server.

Implementa

ITransSynchronizationAgent.Publisher

Osservazioni

Publisher is a required property. An exception is thrown if the Publisher property is set to nullriferimento Null (Nothing in Visual Basic)..

Vedere anche

Riferimento

TransSynchronizationAgent Classe

Spazio dei nomi Microsoft.SqlServer.Replication