Поделиться через


Свойство SqlServerName

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

Пространство имен:  Microsoft.SqlServer.Replication
Сборка:  Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)

Синтаксис

'Декларация
Public ReadOnly Property SqlServerName As String
    Get
'Применение
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

Значение свойства

Тип: System. . :: . .String
A String value.

Замечания

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.