IDatabase::DeleteIndex method

[DeleteIndex is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Removes the index from the database.

Syntax

HRESULT DeleteIndex(
  [in] INDEXORDINAL iIndex
);

Parameters

iIndex [in]

Type: INDEXORDINAL

Specifies the index to be deleted.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
SUCCEEDED
The index successfully deleted.
E_INVALIDARG
Indicates an invalid iIndex or NULL pointer was passed to the function.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Product
Outlook Express 6.0
IDL
Directdb.idl
DLL
Directdb.dll (version 6.0 or later)