IMAPITable::SetColumns Method

Sets the order of property values returned by query operations.

Syntax

HRESULT SetColumns(
    SPropTagArray *lpPropTagArray,
    ULONG ulFlags
);

Parameters

  • lpPropTagArray
    SPropTagArray Pointer to a variable of type SPropTagArray that specifies the array of property tags corresponding to the desired table columns.
  • ulFlags
    ULONG Reserved. Must be set to 0.

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

IMAPITable

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2010