Share via


IMailUser::DeleteProps method

Deletes property values from a mail user object.

Syntax

HRESULT DeleteProps(
   SPropTagArray     *lpPropTagArray,
   SPropProblemArray **lppProblems
);

Parameters

lpPropTagArray

Type: SPropTagArray*

Pointer to a variable of type SPropTagArray that specifies the properties to be deleted. The cValues member of the SPropTagArray structure to which lpPropTagArray points must not be zero, and the lpPropTagArray parameter itself must not be NULL.

lppProblems

Type: SPropProblemArray**

Address of a pointer to a variable of type SPropProblemArray that receives any problems that occur. Must be freed by the client if a non-null value is returned.

Return value

Type: HRESULT

This method can return one of these values.

Return code Description
S_OK
The operation completed successfully.
MAPI_E_NO_ACCESS
An attempt was made to perform an operation for which the user does not have permission.

Remarks

If the client does not have permission to delete values, the method returns MAPI_E_NO_ACCESS.

Requirements

Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Product
Internet Explorer 4.0
Header
Wabtmp.h
DLL
Wab32.dll