SWbemRefresher.Remove method

The SWbemRefresher.Remove method removes the SWbemRefreshableItem object with the specified index from the refresher. The SWbemRefreshableItem object can represent either a single object or an object set.

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

Syntax

objRefresher = .Remove( _
  ByVal LIndex, _
  [ ByVal iFlags ], _
  [ ByVal objWbemNamedvalueSet ] _
)

Parameters

LIndex

Index of the item in the SWbemRefresher object.

iFlags [optional]

Flags must be set t0 (zero).

objWbemNamedvalueSet [optional]

Null.

Return value

This method has no return values.

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_SWbemRefresher
IID
IID_ISWbemRefresher

See also

SWbemRefresher