WmiSmoObject.InvokeMgmtMethod Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
InvokeMgmtMethod(ManagementObject, String, Object[]) | |
InvokeMgmtMethod(ManagementObject, ManagementOperationObserver, String, Object[]) |
Wraps InvokeMethod calls. When the call fails, returned error codes |
InvokeMgmtMethod(ManagementObject, String, Object[])
protected void InvokeMgmtMethod(System.Management.ManagementObject mo, string methodName, object[] parameters);
member this.InvokeMgmtMethod : System.Management.ManagementObject * string * obj[] -> unit
Protected Sub InvokeMgmtMethod (mo As ManagementObject, methodName As String, parameters As Object())
Parameters
- methodName
- String
- parameters
- Object[]
Applies to
InvokeMgmtMethod(ManagementObject, ManagementOperationObserver, String, Object[])
Wraps InvokeMethod calls. When the call fails, returned error codes
are mapped into exceptions.
protected void InvokeMgmtMethod(System.Management.ManagementObject mo, System.Management.ManagementOperationObserver observer, string methodName, object[] parameters);
member this.InvokeMgmtMethod : System.Management.ManagementObject * System.Management.ManagementOperationObserver * string * obj[] -> unit
Protected Sub InvokeMgmtMethod (mo As ManagementObject, observer As ManagementOperationObserver, methodName As String, parameters As Object())
Parameters
- observer
- ManagementOperationObserver
- methodName
- String
- parameters
- Object[]