Freigeben über


ServerType-Eigenschaft

Gets the server type for the instance of SQL Server.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property ServerType As ServerType
    Get
'Usage
Dim instance As Server
Dim value As ServerType

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

Eigenschaftenwert

Typ: Microsoft.SqlServer.Management.Smo. . :: . .ServerType
A ServerType object that specifies the server type for the instance of SQL Server.

Hinweise

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