ManagementObject.GetMethodParameters(String) Method

Definition

Returns a ManagementBaseObject representing the list of input parameters for a method.

public:
 System::Management::ManagementBaseObject ^ GetMethodParameters(System::String ^ methodName);
public System.Management.ManagementBaseObject GetMethodParameters (string methodName);
member this.GetMethodParameters : string -> System.Management.ManagementBaseObject
Public Function GetMethodParameters (methodName As String) As ManagementBaseObject

Parameters

methodName
String

The name of the method.

Returns

A ManagementBaseObject containing the input parameters to the method.

Remarks

Gets the object containing the input parameters to a method, and then fills in the values and passes the object to the InvokeMethod call.

.NET Framework Security

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

Applies to