Using the Connection Object
Build a .NET client application for an EAServer component using the Connection
object.
-
Use the Template Application target wizard to create
a client application, then use a .NET application wizard to create
a .NET target using the library list and application object of the
target you just created.Alternatively, use a .NET target wizard to build a client
application from scratch.
Use the EAServer Connection
Object Wizard to create a standard class user object inherited from
the Connection object. You can then use this object in a script
to establish a connection. First set connection options, then call
the ConnectToServer function.If you use the Template Application wizard to create the client
application, you can create the Connection object in that wizard.-
Use the EAServer Proxy
Wizard to create a project for building a proxy object for each
EAServer component that the .NET client will use, then generate
the proxy objects. The EAServer Proxy icons on the Project page of
the New dialog box are enabled for all .NET target types.
Write the code required to create the EAServer component instance using the CreateInstance function.- Call one or more component methods from the client.
- .NET Client Differences
There are some differences you should be aware of when you use a Connection object with a .NET client.
Parent topic: Connections to EAServer Components
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest