CimSession.InvokeMethod Method

Definition

Overloads

InvokeMethod(String, String, String, CimMethodParametersCollection, CimOperationOptions)
InvokeMethod(String, CimInstance, String, CimMethodParametersCollection, CimOperationOptions)
InvokeMethod(String, CimInstance, String, CimMethodParametersCollection)
InvokeMethod(CimInstance, String, CimMethodParametersCollection)
InvokeMethod(String, String, String, CimMethodParametersCollection)

InvokeMethod(String, String, String, CimMethodParametersCollection, CimOperationOptions)

public:
 Microsoft::Management::Infrastructure::CimMethodResult ^ InvokeMethod(System::String ^ namespaceName, System::String ^ className, System::String ^ methodName, Microsoft::Management::Infrastructure::CimMethodParametersCollection ^ methodParameters, Microsoft::Management::Infrastructure::Options::CimOperationOptions ^ options);
public Microsoft.Management.Infrastructure.CimMethodResult InvokeMethod (string namespaceName, string className, string methodName, Microsoft.Management.Infrastructure.CimMethodParametersCollection methodParameters, Microsoft.Management.Infrastructure.Options.CimOperationOptions options);
member this.InvokeMethod : string * string * string * Microsoft.Management.Infrastructure.CimMethodParametersCollection * Microsoft.Management.Infrastructure.Options.CimOperationOptions -> Microsoft.Management.Infrastructure.CimMethodResult
Public Function InvokeMethod (namespaceName As String, className As String, methodName As String, methodParameters As CimMethodParametersCollection, options As CimOperationOptions) As CimMethodResult

Parameters

namespaceName
String
className
String
methodName
String

Returns

Applies to

InvokeMethod(String, CimInstance, String, CimMethodParametersCollection, CimOperationOptions)

public:
 Microsoft::Management::Infrastructure::CimMethodResult ^ InvokeMethod(System::String ^ namespaceName, Microsoft::Management::Infrastructure::CimInstance ^ instance, System::String ^ methodName, Microsoft::Management::Infrastructure::CimMethodParametersCollection ^ methodParameters, Microsoft::Management::Infrastructure::Options::CimOperationOptions ^ options);
public Microsoft.Management.Infrastructure.CimMethodResult InvokeMethod (string namespaceName, Microsoft.Management.Infrastructure.CimInstance instance, string methodName, Microsoft.Management.Infrastructure.CimMethodParametersCollection methodParameters, Microsoft.Management.Infrastructure.Options.CimOperationOptions options);
member this.InvokeMethod : string * Microsoft.Management.Infrastructure.CimInstance * string * Microsoft.Management.Infrastructure.CimMethodParametersCollection * Microsoft.Management.Infrastructure.Options.CimOperationOptions -> Microsoft.Management.Infrastructure.CimMethodResult
Public Function InvokeMethod (namespaceName As String, instance As CimInstance, methodName As String, methodParameters As CimMethodParametersCollection, options As CimOperationOptions) As CimMethodResult

Parameters

namespaceName
String
instance
CimInstance
methodName
String

Returns

Applies to

InvokeMethod(String, CimInstance, String, CimMethodParametersCollection)

public:
 Microsoft::Management::Infrastructure::CimMethodResult ^ InvokeMethod(System::String ^ namespaceName, Microsoft::Management::Infrastructure::CimInstance ^ instance, System::String ^ methodName, Microsoft::Management::Infrastructure::CimMethodParametersCollection ^ methodParameters);
public Microsoft.Management.Infrastructure.CimMethodResult InvokeMethod (string namespaceName, Microsoft.Management.Infrastructure.CimInstance instance, string methodName, Microsoft.Management.Infrastructure.CimMethodParametersCollection methodParameters);
member this.InvokeMethod : string * Microsoft.Management.Infrastructure.CimInstance * string * Microsoft.Management.Infrastructure.CimMethodParametersCollection -> Microsoft.Management.Infrastructure.CimMethodResult
Public Function InvokeMethod (namespaceName As String, instance As CimInstance, methodName As String, methodParameters As CimMethodParametersCollection) As CimMethodResult

Parameters

namespaceName
String
instance
CimInstance
methodName
String

Returns

Applies to

InvokeMethod(CimInstance, String, CimMethodParametersCollection)

public:
 Microsoft::Management::Infrastructure::CimMethodResult ^ InvokeMethod(Microsoft::Management::Infrastructure::CimInstance ^ instance, System::String ^ methodName, Microsoft::Management::Infrastructure::CimMethodParametersCollection ^ methodParameters);
public Microsoft.Management.Infrastructure.CimMethodResult InvokeMethod (Microsoft.Management.Infrastructure.CimInstance instance, string methodName, Microsoft.Management.Infrastructure.CimMethodParametersCollection methodParameters);
member this.InvokeMethod : Microsoft.Management.Infrastructure.CimInstance * string * Microsoft.Management.Infrastructure.CimMethodParametersCollection -> Microsoft.Management.Infrastructure.CimMethodResult
Public Function InvokeMethod (instance As CimInstance, methodName As String, methodParameters As CimMethodParametersCollection) As CimMethodResult

Parameters

instance
CimInstance
methodName
String

Returns

Applies to

InvokeMethod(String, String, String, CimMethodParametersCollection)

public:
 Microsoft::Management::Infrastructure::CimMethodResult ^ InvokeMethod(System::String ^ namespaceName, System::String ^ className, System::String ^ methodName, Microsoft::Management::Infrastructure::CimMethodParametersCollection ^ methodParameters);
public Microsoft.Management.Infrastructure.CimMethodResult InvokeMethod (string namespaceName, string className, string methodName, Microsoft.Management.Infrastructure.CimMethodParametersCollection methodParameters);
member this.InvokeMethod : string * string * string * Microsoft.Management.Infrastructure.CimMethodParametersCollection -> Microsoft.Management.Infrastructure.CimMethodResult
Public Function InvokeMethod (namespaceName As String, className As String, methodName As String, methodParameters As CimMethodParametersCollection) As CimMethodResult

Parameters

namespaceName
String
className
String
methodName
String

Returns

Applies to