IWbemPath interface (wmiutils.h)

The IWbemPath interface is the primary interface for the object path parser and makes parsing a path available to programs in a standard way. This interface is the main interface for setting and retrieving path information.

The following table lists the methods for IWbemPath.

Inheritance

The IWbemPath interface inherits from the IUnknown interface. IWbemPath also has these types of members:

Methods

The IWbemPath interface has these methods.

 
IWbemPath::CreateClassPart

Initializes the class or key portion of the path.
IWbemPath::DeleteClassPart

The IWbemPath::DeleteClassPart method deletes the class portion of the path.
IWbemPath::GetClassName

The IWbemPath::GetClassName method retrieves the class name portion from the path.
IWbemPath::GetInfo

The IWbemPath::GetInfo method returns details about a path that has been placed into a parser object.
IWbemPath::GetKeyList

Retrieves an IWbemPathKeyList pointer so that the individual key may be accessed.
IWbemPath::GetNamespaceAt

Retrieves a namespace based upon its index.
IWbemPath::GetNamespaceCount

The IWbemPath::GetNamespaceCount method returns the number of namespaces in the path.
IWbemPath::GetScope

Retrieves a scope based upon an index.
IWbemPath::GetScopeAsText

Retrieves a scope in text format based on an index.
IWbemPath::GetScopeCount

The IWbemPath::GetScopeCount method returns the number of scopes in the path.
IWbemPath::GetServer

The IWbemPath::GetServer method retrieves the server portion of the path.
IWbemPath::GetText

The IWbemPath::GetText method returns a textual representation of a path that has previously been placed into a parser object.
IWbemPath::IsLocal

The IWbemPath::IsLocal method tests if the computer name passed in matches the computer name in the path, or if the server name in the path is NULL or ".".
IWbemPath::IsRelative

The IWbemPath::IsRelative method tests if the path, as already set in the parser, is relative to a particular computer and namespace.
IWbemPath::IsRelativeOrChild

The IWbemPath::IsRelativeOrChild method tests if the path, as already set in the parser, is relative to or a child of a particular computer and namespace.
IWbemPath::IsSameClassName

The IWbemPath::IsSameClassName method tests whether the class name passed in matches the one in the path. The method can return TRUE only if the path actually has a class name.
IWbemPath::RemoveAllNamespaces

The IWbemPath::RemoveAllNamespaces method removes the namespace portion of the path.
IWbemPath::RemoveAllScopes

The IWbemPath::RemoveAllScopes method removes all scopes from the path.
IWbemPath::RemoveNamespaceAt

The IWbemPath::RemoveNamespaceAt method removes a namespace at a particular index. The leftmost namespace has an index value of 0 (zero), while namespaces to the right have progressively higher index values.
IWbemPath::RemoveScope

The IWbemPath::RemoveScope method removes a scope based on the index.
IWbemPath::SetClassName

The IWbemPath::SetClassName method sets the class name portion of the path.
IWbemPath::SetNamespaceAt

The IWbemPath::SetNamespace method sets a namespace in a path using zero-based indexing to designate where in the path the namespace is positioned.
IWbemPath::SetScope

The IWbemPath::SetScope method sets a scope in the path based upon an index. The index is always 0 (zero) and the scope is the class or key portion of the path. This method also sets the class name.
IWbemPath::SetServer

The IWbemPath::SetServer method sets the server portion of the path.
IWbemPath::SetText

The IWbemPath::SetText method parses a path so that information on the path can be returned by the path parser.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header wmiutils.h