Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 2 (10.2) Part Number B14308-01 |
|
Applies To
Description
This method returns a set of flags indicating the status of the OParameter.
Usage
int GetStatus(void) const
Remarks
You can use this method to query a parameter's state. It reports the state by means of a single integer which contain flags. These flags are ORed together, and can have the following values:
Auto-enabling is set with the AutoEnable method. The in and out status of a parameter is set when the parameter is created with OParameterSet::Add. A parameter is enabled if it is ready to be used as a parameter, which means that it is auto-enabled, has a name and a valid value. If you have created the parameter with OParameterSet::Add then it will be enable if it is auto-enabled.
Return Value
An integer containing ORed flags, or 0 on error.