Share via


TransSynchronizationAgent.PublisherDatabase Property

Gets or sets the name of the publication database.

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

Syntax

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

/** @property */
public void set_PublisherDatabase (String newValue)
public function get PublisherDatabase () : String

public function set PublisherDatabase (newValue : String)

Property Value

A String value.

Remarks

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