InvokeMgmtMethod 메서드 (ManagementObject, ManagementOperationObserver, String, Object[])
Invokes the management method for the referenced object with the specified management object, observer, method name, and parameters.
네임스페이스: Microsoft.SqlServer.Management.Smo.Wmi
어셈블리: Microsoft.SqlServer.SqlWmiManagement.dll의 Microsoft.SqlServer.SqlWmiManagement
구문
‘선언
Protected Sub InvokeMgmtMethod ( _
mo As ManagementObject, _
observer As ManagementOperationObserver, _
methodName As String, _
parameters As Object() _
)
‘사용 방법
Dim mo As ManagementObject
Dim observer As ManagementOperationObserver
Dim methodName As String
Dim parameters As Object()
Me.InvokeMgmtMethod(mo, observer, _
methodName, parameters)
protected void InvokeMgmtMethod(
ManagementObject mo,
ManagementOperationObserver observer,
string methodName,
Object[] parameters
)
protected:
void InvokeMgmtMethod(
ManagementObject^ mo,
ManagementOperationObserver^ observer,
String^ methodName,
array<Object^>^ parameters
)
member InvokeMgmtMethod :
mo:ManagementObject *
observer:ManagementOperationObserver *
methodName:string *
parameters:Object[] -> unit
protected function InvokeMgmtMethod(
mo : ManagementObject,
observer : ManagementOperationObserver,
methodName : String,
parameters : Object[]
)
매개 변수
- mo
형식: System.Management. . :: . .ManagementObject
A ManagementObject system object value that specifies the management object for the referenced object.
- observer
형식: System.Management. . :: . .ManagementOperationObserver
A ManagementOperationObserver system object value that specifies the observer of the management method for the referenced object.
- methodName
형식: System. . :: . .String
A String value that specifies the name of the management method.
- parameters
형식: array<System. . :: . .Object> [] () [] []
An Object system object array value that specifies the parameters for the management method.