IAzTask::DeletePropertyItem method (azroles.h)

The DeletePropertyItem method removes the specified entity from the specified list.


HRESULT DeletePropertyItem(
  [in]           LONG    lPropId,
  [in]           VARIANT varProp,
  [in, optional] VARIANT varReserved


[in] lPropId

Property ID of the list from which to remove the entity specified by the varProp parameter. The following table shows the possible values.

Value Meaning
Can also be removed using the DeleteOperation method
Can also be removed using the DeleteTask method

[in] varProp

Name of the entity to remove from the list specified by the lPropId parameter.

The variant must be a BSTR variant.

[in, optional] varReserved

Reserved for future use.

Return value

The return value is an HRESULT. A value of S_OK indicates success. Any other value indicates that the operation failed.


Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header azroles.h
Library Azroles.lib
DLL Azroles.dll
Redistributable Windows Server 2003 Administration Tools Pack on Windows XP