Jaa


TransSynchronizationAgent.Publisher Property

Gets or sets the name of the instance of Microsoft SQL Server that is the Publisher for the subscription.

Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

Syntax

'Declaration
Public Overridable Property Publisher As String
public virtual string Publisher { get; set; }
public:
virtual property String^ Publisher {
    String^ get ();
    void set (String^ newValue);
}
/** @property */
public String get_Publisher ()

/** @property */
public void set_Publisher (String newValue)
public function get Publisher () : String

public function set Publisher (newValue : String)

Property Value

A String value.

Remarks

Publisher is a required property. An exception is thrown if the Publisher 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

TransSynchronizationAgent Class
TransSynchronizationAgent Members
Microsoft.SqlServer.Replication Namespace