Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Gets the type of service, such as Microsoft Search service, SQL Server Agent service, or SQL Server service.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Syntax
'Declaration
Public ReadOnly Property Type As ManagedServiceType
Get
'Usage
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
Property Value
Type: ManagedServiceType
A ManagedServiceType object that specifies the type of SQL Server service.
Examples
Managing Services and Network Settings by Using WMI Provider
See Also
Reference
Microsoft.SqlServer.Management.Smo.Wmi Namespace