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


Свойство ServerType

Gets the type of the server instance.

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

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property ServerType As Integer
    Get
'Применение
Dim instance As ManagedInstance
Dim value As Integer

value = instance.ServerType
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public int ServerType { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property int ServerType {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member ServerType : int
function get ServerType () : int

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

Тип: System. . :: . .Int32
An Int32 value that specifies the server type. The Int32 values correspond to the members of the ServerType enumeration.

Замечания

The server type indicates whether the instance of SQL Server is a matrix or a singleton.