Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)
Usage
Visual Basic |
---|
Dim instance As ConnectionManagerBase Dim methodClass As String Dim methodName As String Dim methodParameters As Dictionary(Of String, Object) Dim returnValue As IResultObject returnValue = instance.ExecuteMethod(methodClass, methodName, methodParameters) |
Syntax
Visual Basic |
---|
Public MustOverride Function ExecuteMethod ( _ methodClass As String, _ methodName As String, _ methodParameters As Dictionary(Of String, Object) _ ) As IResultObject |
C# |
---|
public abstract IResultObject ExecuteMethod ( string methodClass, string methodName, Dictionary<string,Object> methodParameters ) |
C++ |
---|
public: virtual IResultObject^ ExecuteMethod ( String^ methodClass, String^ methodName, Dictionary<String^, Object^>^ methodParameters ) abstract |
J# |
---|
public abstract IResultObject ExecuteMethod ( String methodClass, String methodName, Dictionary<String,Object> methodParameters ) |
JScript |
---|
public abstract function ExecuteMethod ( methodClass : String, methodName : String, methodParameters : Dictionary<String,Object> ) : IResultObject |
Parameters
- methodClass
-
[in] The class that defines the method to execute.
- methodName
-
[in] The name of the method.
- methodParameters
-
[in] A System.Collections.Generic.Dictionary object that represents the parameters of the method.
Return Value
IResultObject interface for getting and setting result object properties.Remarks
For an example of the use of this method, see How to Call a Configuration Manager Object Class Method by Using Managed Code.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.