مشاركة عبر


MergeSynchronizationAgent.Subscriber Property

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

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

Syntax

'Declaration
Public Overridable Property Subscriber As String 
    Get 
    Set
'Usage
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)

Property Value

Type: System.String
The subscriber.

Implements

IMergeSynchronizationAgent.Subscriber

Remarks

Subscriber is a required property. An exception is thrown if the Subscriber property is set to nulla null reference (Nothing in Visual Basic).

See Also

Reference

MergeSynchronizationAgent Class

Microsoft.SqlServer.Replication Namespace