Compartilhar via


Propriedade Subscriber

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

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

Sintaxe

'Declaração
Public Overridable Property Subscriber As String
    Get
    Set
'Uso
Dim instance As MergeSynchronizationAgent
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)

Valor da propriedade

Tipo: System. . :: . .String
A String value.

Implementa

IMergeSynchronizationAgent. . :: . .Subscriber

Comentários

Subscriber is a required property. An exception is thrown if the Subscriber property is set to null Nothing nullptr unit uma referência nula (Nothing no Visual Basic) .