Returns the number of columns in the data set.
HRESULT getColumnCount (
LONG*pcColumns);
Parameters
pcColumns
[out]
A pointer to the number of columns returned by the pcColumns argument. The number does not include the column label information.
Return Codes
S_OK
The method succeeded.
E_FAIL
A provider-specific error occurred.