다음을 통해 공유


Type 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo.Wmi
어셈블리:  Microsoft.SqlServer.SqlWmiManagement.dll의 Microsoft.SqlServer.SqlWmiManagement

구문

‘선언
Public ReadOnly Property Type As ManagedServiceType
    Get
‘사용 방법
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

속성 값

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