Partilhar via


Propriedade ServerType

Gets the server type for the instance of SQL Server.

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

Sintaxe

'Declaração
<SfcPropertyAttribute> _
Public ReadOnly Property ServerType As ServerType
    Get
'Uso
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

Valor da propriedade

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

Comentários

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