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.
Examples
For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.
Requirements
|
Minimum supported client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Type library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012
