Runs the specified method on the result object. Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim instance As IResultObject
Dim methodName As String
Dim methodParameters As Dictionary(Of String, Object)
Dim returnValue As IResultObject

returnValue = instance.ExecuteMethod(methodName, methodParameters)

Syntax

Visual Basic
Function ExecuteMethod ( _
		methodName As String, _
		methodParameters As Dictionary(Of String, Object) _
) As IResultObject
C#
IResultObject ExecuteMethod (
		string methodName,
		Dictionary<string,Object> methodParameters
)
C++
IResultObject^ ExecuteMethod (
		String^ methodName, 
		Dictionary<String^, Object^>^ methodParameters
)
J#
IResultObject ExecuteMethod (
		String methodName, 
		Dictionary<String,Object> methodParameters
)
JScript
function ExecuteMethod (
		methodName : String, 
		methodParameters : Dictionary<String,Object>
) : IResultObject

Parameters

methodName

[in] Name of method to run.

methodParameters

[in] System.Collections.Generic.Dictionary object representing 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