IMAPITable::QueryColumns Method
Retrieves either the current list of columns for a table view or the full list of columns available for the table.
Syntax
HRESULT QueryColumns(
ULONG ulFlags,
SPropTagArray **lpPropTagArray
);
Parameters
ulFlags
ULONG
Value of type ULONG that specifies the bitmask of flags that indicate which column set should be returned. The following flag can be set:
TBL_ALL_COLUMNS
Retrieves all available columns.
lpPropTagArray
Address of a pointer to a variable of type SPropTagArray that receives the returned property tag array.
Return Value
HRESULT
The method can return one of the following values.
Return code | Description |
---|---|
S_OK | The operation completed successfully. |
MAPI_E_BUSY | Another operation is in progress that prevents the operation from starting. Either the operation in progress should be allowed to complete itself, or it should be stopped. |
Requirements
Minimum supported client |
Windows 2000 Professional |
Minimum supported server |
Windows 2000 Server |
Product |
Internet Explorer 4.0 |
Header |
Wabdefs.h |
DLL |
Wab32.dll |
See Also
Send comments about this topic to Microsoft
Build date: 6/30/2010