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: INDEXORDINAL

Specifies an identifier of the index to modify or create.

ppszFilter [in]

Type: LPCSTR

Specifies a filter used ensure only certain rows appear in the database.

pIndex [in]

Type: LPTABLEINDEX

The 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 codeDescription
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

Show: