다음을 통해 공유


CimSession.InvokeMethod Method (CimInstance, String, CimMethodParametersCollection)

 

Invokes an instance method.

Namespace:   Microsoft.Management.Infrastructure
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Syntax

public CimMethodResult InvokeMethod(
    CimInstance instance,
    string methodName,
    CimMethodParametersCollection methodParameters
)
public:
CimMethodResult^ InvokeMethod(
    CimInstance^ instance,
    String^ methodName,
    CimMethodParametersCollection^ methodParameters
)
member InvokeMethod : 
        instance:CimInstance *
        methodName:string *
        methodParameters:CimMethodParametersCollection -> CimMethodResult
Public Function InvokeMethod (
    instance As CimInstance,
    methodName As String,
    methodParameters As CimMethodParametersCollection
) As CimMethodResult

Parameters

Return Value

Type: Microsoft.Management.Infrastructure.CimMethodResult

Returns CimMethodResult.

See Also

InvokeMethod Overload
CimSession Class
Microsoft.Management.Infrastructure Namespace

Return to top