OLE DB Programmer's Reference |
Loads a persisted command definition.
HRESULT LoadCommand( DBID *pCommandID, DWORD dwFlags);
Parameters
Return Code
Comments
ICommandPersist::LoadCommand loads the persisted command definition into the current command object. Loading a persisted command definition does not change the command object's transaction scope and semantics nor does it change the session scope. Set property values and specified parameter information are not affected by loading a persisted command definition. ICommandPersist::LoadCommand fails if the current command object has any outstanding rowsets (DB_E_OBJECTOPEN).
1998-2001 Microsoft Corporation. All rights reserved.