Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

ReturnCommandHandle – PB Docs 2021 – PowerBuilder Library

ReturnCommandHandle – PB Docs 2021

ReturnCommandHandle

database parameter

Description

Specifies whether you want PowerBuilder to return a handle to a
session object or a data source object when you call the DBHandle
function.

Applies to

OLE DB

Syntax

Parameter

Description

value

Specifies whether you want PowerBuilder to return a
handle to a session object or a data source object. Values
are:

  • 0

    (Default) Return a data source object
    pointer.

  • 1

    Return a session object pointer.

Default value

ReturnCommandHandle=0

Usage

DBHandle takes a transaction object as a parameter and returns a
long variable that is an interface pointer to a data source object or a
session object. By default the OLE DB interface returns the handle of a
data source object. If ReturnCommandHandle is set to 1, the OLE DB
interface returns the handle of a session object. This handle can then
be passed to an external program and instantiated for use in enlisting
the connection in a Microsoft DTC (Distributed Transaction Coordinator)
transaction.

Examples

For an example, see the section called “OLE DB SQL
functions”
in Connecting to Your Database.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x