IDirectorySearch::FreeColumn

Releases memory allocated by GetColumn for data from a search result column.

HRESULT FreeColumn(
  PADS_SEARCH_COLUMN pSearchColumn  //Column data to be freed
);
 

Parameters

[in] pSearchColumn
Pointer to the column to be freed.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

S_OK
The column was freed.

See Also

Using Directory Service Queries