SWbemRefreshableItem.Remove method

The SWbemRefreshableItem.Remove method removes the SWbemRefreshableItem object from the parent SWbemRefresher object.

For an explanation of this syntax, see Document Conventions for the Scripting API.

Syntax

SWbemRefreshableItem.Remove( _
  [ ByVal lFlags ] _
)

Parameters

lFlags [in, optional]

This parameter must be set to 0 (zero).

Return value

This method does not return a value.

Remarks

Error Codes If the refresher has no item with the specified index, wbemErrNotFound is generated.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Wbemdisp.h
Type library
Wbemdisp.tlb
DLL
Wbemdisp.dll
CLSID
CLSID_SWbemRefreshableItem
IID
IID_ISWbemRefreshableItem

See also

SWbemRefreshableItem

SWbemRefresher