Share via


IMergeSynchronizationAgent.HostName Property

Gets or sets the value used by the Merge Agent when it evaluates a parameterized filter that uses the HOST_NAME function.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
Property HostName As String 
    Get 
    Set
'Usage
Dim instance As IMergeSynchronizationAgent 
Dim value As String 

value = instance.HostName

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

Property Value

Type: System.String
A String value.

See Also

Reference

IMergeSynchronizationAgent Interface

Microsoft.SqlServer.Replication Namespace