共用方式為


ServerType 屬性

Gets the server type for the instance of SQL Server.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property ServerType As ServerType
    Get
'用途
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

屬性值

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

備註

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