MergeSynchronizationAgent.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 
    Get 
    Set
'Usage
Dim instance As MergeSynchronizationAgent 
Dim value As String 

value = instance.Publication

instance.Publication = value
public virtual string Publication { get; set; }
public:
virtual property String^ Publication {
    String^ get ();
    void set (String^ value);
}
abstract Publication : string with get, set 
override Publication : string with get, set
function get Publication () : String 
function set Publication (value : String)

Property Value

Type: System.String
the name of the publication.

Implements

IMergeSynchronizationAgent.Publication

Remarks

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

See Also

Reference

MergeSynchronizationAgent Class

Microsoft.SqlServer.Replication Namespace