Udostępnij przez


Service.Type Property

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

'Deklaracja
Public ReadOnly Property Type As ManagedServiceType
public ManagedServiceType Type { get; }
public:
property ManagedServiceType Type {
    ManagedServiceType get ();
}
/** @property */
public ManagedServiceType get_Type ()
public function get Type () : ManagedServiceType

Property Value

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.