Share via


ReplicationObject.SqlServerName Property

Gets the name of the Microsoft SQL Server instance to which this object is connected.

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

Syntax

'Declaration
Public ReadOnly Property SqlServerName As String 
    Get
'Usage
Dim instance As ReplicationObject 
Dim value As String 

value = instance.SqlServerName
public string SqlServerName { get; }
public:
property String^ SqlServerName {
    String^ get ();
}
member SqlServerName : string
function get SqlServerName () : String

Property Value

Type: System.String
The name of the Microsoft SQL Server instance.

See Also

Reference

ReplicationObject Class

Microsoft.SqlServer.Replication Namespace