ManagedComputer.Services 속성

Represents a collection of Service objects. Each Service object represents a SQL Server service defined on the WMI installation.

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

구문

‘선언
Public ReadOnly Property Services As ServiceCollection 
    Get
‘사용 방법
Dim instance As ManagedComputer 
Dim value As ServiceCollection 

value = instance.Services
public ServiceCollection Services { get; }
public:
property ServiceCollection^ Services {
    ServiceCollection^ get ();
}
member Services : ServiceCollection
function get Services () : ServiceCollection

속성 값

유형: Microsoft.SqlServer.Management.Smo.Wmi.ServiceCollection
A ServiceCollection object that represents all the SQL Server services defined on the WMI installation.

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

참고 항목

참조

ManagedComputer 클래스

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

관련 자료

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