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


Свойство ServerType

Gets or sets the server connection type.

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

Синтаксис

'Декларация
Public ReadOnly Property ServerType As ConnectionType
    Get
'Применение
Dim instance As ConnectionInfoBase
Dim value As ConnectionType

value = instance.ServerType
public ConnectionType ServerType { get; }
public:
property ConnectionType ServerType {
    ConnectionType get ();
}
member ServerType : ConnectionType
function get ServerType () : ConnectionType

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

Тип: Microsoft.SqlServer.Management.Common. . :: . .ConnectionType
A ConnectionType system object value that specifies the type of connection.