Home | How To | Online Documentation | Support | Download | Order |
|
|
void setConnection( SAConnection *pConnection ); Associates a SAConnection object with the specified SACommand object. ParameterspConnection. A pointer to an existing SAConnection object. RemarksUse the setConnection method to associate SACommand and SAConnection objects. Only one connection can be associated with a command. Connection for the command can also be set in a SACommand constructor. To get associated SAConnection object use Connection method. When you call setConnection method on SACommand object that already has associated connection, the previous association will be correctly discarded (with closing opened command if needed) and new connection will be set. If you attempt to call any method on a SACommand object that requires database access with no valid connection, an error occurs. Server specific notesNo specific information. See alsoProblems and QuestionsIf you haven't found the answer to your questions or have some problems on using the Library, please, send e-mail to howto@sqlapi.com. |
|||||||||||||||||||