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.