Share via


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
public virtual string Subscriber { get; set; }
public:
virtual property String^ Subscriber {
    String^ get ();
    void set (String^ newValue);
}
/** @property */
public String get_Subscriber ()

/** @property */
public void set_Subscriber (String newValue)
public function get Subscriber () : String

public function set Subscriber (newValue : String)

Property Value

A String value.

Remarks

Subscriber is a required property. An exception is thrown if the Subscriber property is set to null.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MergeSynchronizationAgent Class
MergeSynchronizationAgent Members
Microsoft.SqlServer.Replication Namespace