Partager via


Propriété Subscriber

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

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

Syntaxe

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

Valeur de propriété

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

Implémente

ITransSynchronizationAgent. . :: . .Subscriber

Notes

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