SWbemObjectPath.Keys property

The Keys property of the SWbemObjectPath object is an SWbemNamedValueSet object that contains the key value bindings. This property is read-only.

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

This property is read-only.

Syntax

SWbemObjectPath.Keys As Object

Property value

Error codes

After you retrieve the Keys property, the Err object may contain the error code below.

wbemErrNotSupported - 2147749900 (0x8004100C)

The feature or operation is not supported. This error is returned if a script attempts to write to this property.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Adoctint.h (include Wbemdisp.h)
Type library
Wbemdisp.tlb
DLL
Wbemdisp.dll
CLSID
CLSID_SWbemObjectPath
IID
IID_ISWbemObjectPath