Compartilhar via


ResultObjectsManager.ExecuteMethod Method

Runs the specified method on the result collection.

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

Usage

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

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

Reference

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