IDatabase::ModifyIndex Method
Deprecated. Will create or modify an index in the database.
Syntax
HRESULT ModifyIndex(
[in] INDEXORDINAL iIndex,
[in] LPCSTR ppszFilter,
[in] LPTABLEINDEX pIndex
);
Parameters
iIndex [in]
Type: INDEXORDINALSpecifies an identifier of the index to modify or create.
ppszFilter [in]
Type: LPCSTRSpecifies a filter used ensure only certain rows appear in the database.
pIndex [in]
Type: LPTABLEINDEXThe LPCTABLEINDEX data structure specifies columns to be used in the index and options for those columns.
Return Value
Type: HRESULT
Returns one of the following values.
| Return code | Description |
|---|---|
| SUCCEEDED | The index count has been successfully created or modified. |
| E_INVALIDARG | Indicates an invalid iIndex or NULL pointer was passed to the function. |
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows Server 2003 |
Product |
Outlook Express 6.0 |
IDL |
Directdb.idl |
DLL |
Directdb.dll (version 6.0 or later) |
Send comments about this topic to Microsoft
Build date: 6/30/2011