Share via


TransSynchronizationAgent.HostName Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets or sets the host name used.

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

Syntax

'Declaration
Public Overridable Property HostName As String 
    Get 
    Set
'Usage
Dim instance As TransSynchronizationAgent 
Dim value As String 

value = instance.HostName

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

Property Value

Type: System.String
The host name.

Implements

ITransSynchronizationAgent.HostName

See Also

Reference

TransSynchronizationAgent Class

Microsoft.SqlServer.Replication Namespace