CimSession.InvokeMethod Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
- methodParameters
- CimMethodParametersCollection
- options
- CimOperationOptions
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
- methodParameters
- CimMethodParametersCollection
- options
- CimOperationOptions
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
- methodParameters
- CimMethodParametersCollection
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
- methodParameters
- CimMethodParametersCollection
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
- methodParameters
- CimMethodParametersCollection