Runs the specified method on the result collection.
Namespace:
Microsoft.ConfigurationManagement.ManagementProvider
Assembly:
Microsoft.ConfigurationManagement.ManagementProvider (in
microsoft.configurationmanagement.managementprovider.dll)
Usage
Visual Basic |
Dim instance As ResultObjectsManager
Dim methodName As String
Dim methodParameters As Dictionary(Of String, Object)
Dim returnValue As IResultObject
returnValue = instance.ExecuteMethod(methodName, methodParameters)
|
Syntax
Visual Basic |
Public Function ExecuteMethod ( _
methodName As String, _
methodParameters As Dictionary(Of String, Object) _
) As IResultObject
|
C# |
public IResultObject ExecuteMethod (
string methodName,
Dictionary<string,Object> methodParameters
)
|
C++ |
public:
virtual IResultObject^ ExecuteMethod (
String^ methodName,
Dictionary<String^, Object^>^ methodParameters
) sealed
|
J# |
public final IResultObject ExecuteMethod (
String methodName,
Dictionary<String,Object> methodParameters
)
|
JScript |
public final function ExecuteMethod (
methodName : String,
methodParameters : Dictionary<String,Object>
) : IResultObject
|
Parameters
- methodName
-
[in] Name of the method to run.
- methodParameters
-
[in] System.Collections.Generic.Dictionary object that
represents method parameters.
Return Value
IResultObject
interface for getting and setting result object properties.
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.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2003,Windows Vista
See Also