SWbemObjectPath.SetAsClass property

The SetAsClass method of the SWbemObjectPath object forces the path to address a WMI class.

This property is write-only.

Syntax

SWbemObjectPath.SetAsClass

Property value

Error codes

After you get or set the SetAsClass property, the Err object may contain the error code in the following table.

ErrorMeaning
wbemErrFailed
2147749889 (0x80041001)

Unspecified error.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Type library

Wbemdisp.tlb

DLL

Wbemdisp.dll

 

 

Show:
© 2014 Microsoft. All rights reserved.