WmiSmoObject.InvokeMgmtMethod 메서드 (ManagementObject, String, array<Object )

Invokes the management method for the referenced object with the specified management object, method name, and parameters.

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

구문

‘선언
Protected Sub InvokeMgmtMethod ( _
    mo As ManagementObject, _
    methodName As String, _
    parameters As Object() _
)
‘사용 방법
Dim mo As ManagementObject 
Dim methodName As String 
Dim parameters As Object()

Me.InvokeMgmtMethod(mo, methodName, _
    parameters)
protected void InvokeMgmtMethod(
    ManagementObject mo,
    string methodName,
    Object[] parameters
)
protected:
void InvokeMgmtMethod(
    ManagementObject^ mo, 
    String^ methodName, 
    array<Object^>^ parameters
)
member InvokeMgmtMethod : 
        mo:ManagementObject * 
        methodName:string * 
        parameters:Object[] -> unit
protected function InvokeMgmtMethod(
    mo : ManagementObject, 
    methodName : String, 
    parameters : Object[]
)

매개 변수

  • methodName
    유형: System.String
    A String value that specifies the name of the management method.
  • parameters
    유형: array<System.Object[]
    An Object array value that specifies the parameters for the management method.

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

참고 항목

참조

WmiSmoObject 클래스

InvokeMgmtMethod 오버로드

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

관련 자료

WMI and SQL Server

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