Platform SDK: Exchange 2000 Server

DisplayName Property

[This is preliminary documentation and subject to change.]

Contains the display name of the addressee.

[Visual Basic,VBScript]
Property DisplayName as String
[C++]
HRESULT get_DisplayName(BSTR* pVal);
HRESULT put_DisplayName(BSTR Val);
[IDL]
HRESULT [propget] DisplayName([out,retval] BSTR* pVal);
HRESULT [propput] DisplayName([in] BSTR Val);

Remarks

The DisplayName property defaults to the empty string until the addressee is resolved using the IAddressee::CheckName method. Once the addressee is resolved, this property contains the display name of the addressee as contained in the corresponding directory object. If the search criteria were ambiguous and multiple matches occurred, the DisplayName property remains empty.

Note that you can set the DisplayName property explicitly and then call IAddressee::CheckName. The DisplayName property is then used along with other property values when attempting to resolve the addressee to a directory object.