IDiskQuotaUserBatch::Remove method (dskquota.h)

Removes an IDiskQuotaUser pointer from the batch list.

Syntax

HRESULT Remove(
  [in] PDISKQUOTA_USER pUser
);

Parameters

[in] pUser

A pointer to the quota user object's IDiskQuotaUser interface.

Return value

This method returns one of the following values.

Return code Description
S_OK
Success.
S_FALSE
Quota user object not found in batch.
E_INVALIDARG
The pUser parameter is NULL.
E_UNEXPECTED
An unexpected exception occurred.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header dskquota.h
DLL Dskquota.dll

See also

Disk Management Interfaces

Disk Quotas

IDiskQuotaUserBatch