Partager via


Type propriété

Gets the type of service, such as Microsoft Search service, SQL Server Agent service, or SQL Server service.

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

Syntaxe

'Déclaration
Public ReadOnly Property Type As ManagedServiceType
    Get
'Utilisation
Dim instance As Service
Dim value As ManagedServiceType

value = instance.Type
public ManagedServiceType Type { get; }
public:
property ManagedServiceType Type {
    ManagedServiceType get ();
}
member Type : ManagedServiceType
function get Type () : ManagedServiceType

Valeur de la propriété

Type : ManagedServiceType
A ManagedServiceType object that specifies the type of SQL Server service.