共用方式為


PROPERTY_INFO_ENTRY_VALUE

Represents a specific property in a property set.

PROPERTY_INFO_ENTRY_VALUE(dwPropID, value )

Parameters

  • dwPropID
    [in] A DBPROPID value that can be used in conjunction with the property set GUID to identify a property.

  • value
    [in] The property value of type DWORD.

Remarks

With this macro, you can directly specify the property value of type DWORD. To set the property to default value defined in ATLDB.H, use PROPERTY_INFO_ENTRY. To set the value, flags, and options for the property, use PROPERTY_INFO_ENTRY_EX.

Example

See BEGIN_PROPSET_MAP.

Requirements

Header: atldb.h

See Also

Reference

Creating an OLE DB Provider

Concepts

OLE DB Provider Templates (C++)

OLE DB Provider Template Architecture

Other Resources

Macros for OLE DB Provider Templates