Origin property

SWbemProperty.Origin property

The Origin property of the SWbemProperty object retrieves the name of the WMI class in which this property was introduced. For classes with deep inheritance hierarchies, it is often desirable to know which properties were declared in which classes.

If the property is local (see SWbemQualifier.IsLocal), this value is the same as the owning class. This property is read-only.

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

This property is read-only.

Syntax


SWbemProperty.Origin As String

Property value

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Wbemdisp.h

Type library

Wbemdisp.tlb

DLL

Wbemdisp.dll

CLSID

CLSID_SWbemProperty

IID

IID_ISWbemProperty

 

 

Show:
© 2016 Microsoft