GetRetainCursor
Returns the
RetainCursor status. D7+
Only.
function GetRetainCursor
(Connection
: TSQLConnection): Boolean;
Parameters:
- Connection
- The TSQLConnection component that is connected to the
server.
Return Value:
True or False, according to what is defined in the internal
RetainCursor.
Exceptions:
EDatabaseError
is raised in case
of an error.
Example 4.5.
ShowMessage('The RetainCursor status of this connection is ' + BoolToStr(GetRetainCursor(SQLConnection1)));