Свойство ConnectionSettings.ServerInstance

Возвращает или задает имя сервера.

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

Синтаксис

'Декларация
Public Property ServerInstance As String 
    Get 
    Set
'Применение
Dim instance As ConnectionSettings 
Dim value As String 

value = instance.ServerInstance

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

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

Тип: String
Значение String, указывающее имя сервера.

См. также

Справочник

ConnectionSettings Класс

Пространство имен Microsoft.SqlServer.Management.Common