Jaa


TransSynchronizationAgent.Publication Property

Gets or sets the name of the publication.

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

Syntax

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

/** @property */
public void set_Publication (String newValue)
public function get Publication () : String

public function set Publication (newValue : String)

Property Value

A String value.

Remarks

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