共用方式為


ManagedInstance.ServerType Property

Definition

Gets the type of the server instance.

public:
 property int ServerType { int get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Data)]
public int ServerType { get; }
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Data)>]
member this.ServerType : int
Public ReadOnly Property ServerType As Integer

Property Value

An Int32 value that specifies the server type. The Int32 values correspond to the members of the ServerType enumeration.

Attributes

Remarks

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

Applies to