ICommandProperties

OLE DB Programmer's Reference

ICommandProperties specifies to the command the properties from the Rowset property group that must be supported by the rowsets returned by ICommand::Execute. A special case of these properties, and the ones most commonly requested, are the interfaces the rowset must support. In addition to interfaces, the consumer can request properties that modify the behavior of the rowset or interfaces.

All rowsets must support IRowset, IAccessor, IColumnsInfo, IRowsetInfo, and IConvertType. Providers may choose to return rowsets supporting other interfaces if doing so is possible and if the support for the returned interfaces does not affect consumer code that is not expecting them. The riid parameter of ICommand::Execute should be one of the interfaces returned by IRowsetInfo::GetProperties.

This interface is mandatory on commands.

Method Description
GetProperties Returns the list of properties in the Rowset property group that are currently requested for the rowset.
SetProperties Sets properties in the Rowset property group.

1998-2001 Microsoft Corporation. All rights reserved.



Microsoft Ole Db 2.0 Programmer's Reference and Data Access SDK
Microsoft OLE DB 2.0 Programmers Reference and Data Access SDK (Microsoft Professional Editions)
ISBN: 0735605904
EAN: 2147483647
Year: 1998
Pages: 1083

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net