IResultObject.ExecuteMethod Method

Runs the specified method on the result object.

Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

'Usage
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

'Declaration
Function ExecuteMethod ( _
    methodName As String, _
    methodParameters As Dictionary(Of String, Object) _
) As IResultObject
IResultObject ExecuteMethod (
    string methodName,
    Dictionary<string,Object> methodParameters
)
IResultObject^ ExecuteMethod (
    String^ methodName, 
    Dictionary<String^, Object^>^ methodParameters
)
IResultObject ExecuteMethod (
    String methodName, 
    Dictionary<String,Object> methodParameters
)
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

Reference

IResultObject Interface
IResultObject Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
IResultObject Interface