ISdoDictionaryOld::GetAttributeID method

The GetAttributeID method retrieves the ID for the specified attribute.

Syntax

HRESULT GetAttributeID(
  BSTR        bstrAttributeName,
  ATTRIBUTEID *pId
);

Parameters

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.

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

   
Windows version None supported Windows Server 2008
Target Platform Windows
Header sdoias.h
DLL Iassdo.dll

See Also

ATTRIBUTEID

BSTR

ISdoDictionaryOld