共用方式為


PidTagResourceMethods Canonical Property

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Contains a bitmask of flags that indicate the methods in the IMAPIStatus interface that are supported by the status object.

Associated properties:

PR_RESOURCE_METHODS

Identifier:

0x3E02

Data type:

PT_LONG

Area:

MAPI status

Remarks

This property indicates which of the methods in a status object's implementation of IMAPIStatus are supported. Status objects are allowed to return MAPI_E_NO_SUPPORT from unsupported methods.

Clients use a status object's PR_RESOURCE_METHODS property to avoid making calls to unsupported methods. If the flag that corresponds to a particular method is set, the method exists and can be called. If that flag is clear, the method should not be called.

The status objects implemented by MAPI support the following methods:

Status object

Supported methods

MAPI subsystem

ValidateState only

MAPI address book

ValidateState only

MAPI spooler

ValidateState and FlushQueues

One or more of the following flags can be set in PR_RESOURCE_METHODS:

Header Files

  • Mapidefs.h
    Provides data type definitions.

  • Mapitags.h
    Contains definitions of properties listed as alternate names.

See Also

Concepts

MAPI Properties

MAPI Canonical Properties

Mapping Canonical Property Names to MAPI Names

Mapping MAPI Names to Canonical Property Names