Share via


Service.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(Microsoft.SqlServer.SqlWmiManagement.dll)

구문

‘선언
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.

WMI 공급자를 사용하여 서비스 및 네트워크 설정 관리

참고 항목

참조

Service 클래스

Microsoft.SqlServer.Management.Smo.Wmi 네임스페이스

관련 자료

WMI and SQL Server

SQL Server 데이터베이스 엔진에 연결