GetNamespaceCount method

IWbemPath::GetNamespaceCount method

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

Syntax


HRESULT GetNamespaceCount(
  [out] ULONG *puCount
);

Parameters

puCount [out]

Number of namespaces in the path.

Return value

This method returns an HRESULT with one of the following values.

Return codeDescription
S_OK

Method executed successfully.

WBEM_E_INVALID_PARAMETER

The puCount parameter is NULL.

WBEM_E_OUT_OF_MEMORY

Insufficient memory to execute the method.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Wmiutils.h

Library

Wbemuuid.lib

DLL

Wmiutils.dll

See also

IWbemPath

 

 

Show:
© 2016 Microsoft