
Use the ICICommandSettings interface MinNumOfParams property to check if a custom command must have a minimum number of parameters. Use the same property to set the minimum number of required parameters. You can use any integer from 0 to 10. Refer to Command Settings Interface Properties for an illustration of how this and other ICICommandSettings can be accessed in the Administrator interface.
Signature:
HRESULT MinNumOfParams([out, retval] long *pVal);
HRESULT MinNumOfParams([in] long newVal);