다음을 통해 공유


ResolvedStatus Property

Topic Last Modified: 2006-06-13

Indicates the resolution status of this addressee.

Applies To

IAddressee Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

Property ResolvedStatus As CdoResolvedStatus
HRESULT get_ResolvedStatus(CdoResolvedStatus* pVal);HRESULT put_ResolvedStatus(CdoResolvedStatus Val);

Parameters

Remarks

The Addressee object (that exposes the IAddressee interface) can be in one of three possible resolution states defined by the CdoResolvedStatus Enum.

CdoResolvedStatus Enum

Name Value Description

cdoUnresolved

0

The addressee has not been successfully resolved, meaning that the corresponding directory object has not been identified.

cdoResolved

1

The addressee's directory object has successfully been located, and the addressee is considered resolved.

cdoAmbiguous

2

A previous attempt to resolve the addressee that is, locate the corresponding directory object resulted in multiple matches. The search criteria were ambiguous, and multiple directory objects that match the criteria were found and are present in the AmbiguousNames recordset.

When you first create an instance of the Addressee Component Object Model (COM) class, its state is said to be unresolved (cdoUnresolved). After you specify information such as a display name, directory URL, or e-mail address, you can call CheckName Method to attempt to resolve the addressee and thereby locate the addressee's directory object. If the object is located, and uniquely matches the specified criteria, the object enters the resolved state (cdoResolved). If multiple directory objects match the criteria, the object enters the ambiguous state (cdoAmbiguous). When in this state, the AmbiguousNames recordset contains information about each object that matched the criteria for the resolution attempt. For more information, see the AmbiguousNames Property.