Export (0) Print
Expand All

IWbemPathKeyList::MakeSingleton method

The IWbemPathKeyList::MakeSingleton method governs whether or not a key is singleton.

Syntax


HRESULT MakeSingleton(
  [in]  boolean bSet
);

Parameters

bSet [in]

If TRUE, the key becomes singleton. If FALSE, the key is no longer singleton.

Return value

This method returns an HRESULT indicating the status of the method call.

Return codeDescription
S_OK

Method executed successfully.

WBEM_E_OUT_OF_MEMORY

Insufficient memory to perform the operation.

 

Examples

For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.

For C++ code examples, see WMI C++ Application Examples.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Wmiutils.h

Library

Wbemuuid.lib

DLL

Wmiutils.dll

See also

IWbemPath
IWbemPathKeyList

 

 

Show:
© 2014 Microsoft