Condividi tramite


Proprietà TransSynchronizationAgent.Subscriber

Gets or sets the name of the instance of Microsoft SQL Server that is the subscriber.

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

Sintassi

'Dichiarazione
Public Overridable Property Subscriber As String 
    Get 
    Set
'Utilizzo
Dim instance As TransSynchronizationAgent 
Dim value As String 

value = instance.Subscriber

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

Valore proprietà

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

Implementa

ITransSynchronizationAgent.Subscriber

Osservazioni

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

Vedere anche

Riferimento

TransSynchronizationAgent Classe

Spazio dei nomi Microsoft.SqlServer.Replication