مشاركة عبر


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
A String value.

Remarks

This property is available with SQL Server 7.0, SQL Server 2000, and SQL Server 2005.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.