Partager via


ServerType propriété

Gets the server type for the instance of SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public ReadOnly Property ServerType As ServerType
    Get
'Utilisation
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

Valeur de la propriété

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

Notes

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