ISdoDictionaryOld::GetAttributeID method (sdoias.h)

The GetAttributeID method retrieves the ID for the specified attribute.

Syntax

HRESULT GetAttributeID(
  [in]  BSTR        bstrAttributeName,
  [out] ATTRIBUTEID *pId
);

Parameters

[in] bstrAttributeName

Specifies the name of the attribute. This name is either the Lightweight Directory Access Protocol (LDAP) name, or the display name for the attribute.

[out] pId

Pointer to an ATTRIBUTEID that receives the ID of the specified attribute.

Return value

If the method succeeds the return value is S_OK.

If the method does not find the attribute, the return value is DISP_E_MEMBERNOTFOUND.

If the method fails, the return value is one of the following error codes.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008
Target Platform Windows
Header sdoias.h
DLL Iassdo.dll

See also

ATTRIBUTEID

BSTR

ISdoDictionaryOld