SWbemQualifierSet.Item method
The Item method of the SWbemQualifierSet object returns a named SWbemQualifier object from the collection. This is the default method of this object.
For an explanation of this syntax, see Document Conventions for the Scripting API.
Syntax
objQualifier = .Item( _ ByVal strName, _ [ ByVal iFlags ] _ )
Parameters
- strName [in]
-
Required. Name of the qualifier to retrieve.
- iFlags [in, optional]
-
Reserved. The default value is 0 (zero).
Return value
If successful, the requested SWbemQualifier object is returned.
Error codes
After completion of the Item method, the Err object may contain one of the error codes in the following table.
| Error (Name/Dec/Hex) | Meaning |
|---|---|
|
The iFlags parameter was not valid. |
|
Unspecified error. |
|
Specified qualifier does not exist. |
Examples
For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Type library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012