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

Importing an ADO.NET Connection from a Third-Party .NET Assembly – PB Docs 2017 – PowerBuilder Library

Importing an ADO.NET Connection from a Third-Party .NET Assembly – PB Docs 2017

Importing an ADO.NET Connection from a Third-Party .NET
Assembly

You can import an ADO.NET connection from an external .NET
assembly into a PowerBuilder application, enabling the application and
the assembly to share the connection.

Use the SetAdoConnection method:

where proxy is the instance of type IAdoConnectionProxy that is
passed in by the third-party assembly.

The imported connection and any transaction are assigned to the
IAdoConnectionProxy instance.

The method returns true if the parameter is available (that is,
the parameter is an instance of IAdoConnectionProxy or null). It returns
false if the operation fails.

Start the connection after invoking SetAdoConnection.

Sample PowerScript Code

Sample C# Code

Here is an example of C# code in the third-party assembly:


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