ISettingsIdentity::GetAttribute method (wcmconfig.h)

Gets an identity attribute for a namespace identity.

Syntax

HRESULT GetAttribute(
  [in]  void        *Reserved,
  [in]  const WCHAR *Name,
  [out] BSTR        *Value
);

Parameters

[in] Reserved

Reserved. Must be NULL.

[in] Name

The name of the attribute.

[out] Value

The value of the attribute.

Return value

This method returns an HRESULT value. S_OK indicates success. If the attribute specified by Name is not recognized, this function returns WCM_E_ATTRIBUTENOTFOUND.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wcmconfig.h
DLL SMIEngine.dll

See also

ISettingsIdentity