PBORCA_BuildProjectWithOverrides
Description
This function is obsolete because EAServer is no longer supported
since PowerBuilder 2017.
Deploys an EAServer component according to the specifications of the
project object, but forces overrides based on argument values you specify.
This method is similar to PBORCA_BuildProjectEx, however, it requires
additional input values for the server login ID and password, and it uses
these values to override any values set in the server profile or the
project object.
Syntax
|
1 2 3 4 5 6 7 8 9 |
INT PBORCA_BuildProjectWithOverrides ( HPBORCA hORCASession, LPTSTR lpszLibraryName, LPTSTR lpszProjectName, PBORCA_BLDPROC pBuildErrProc, LPTSTR lpszServerName, INT iPort, LPTSTR lpszUserid, LPTSTR lpszPassword, LPVOID pUserData ); |
|
Argument |
Description |
|---|---|
|
hORCASession |
Handle to previously established ORCA |
|
lpszLibraryName |
File name of the library containing project |
|
lpszProjectName |
Project object containing deployment |
|
pBuildErrProc |
Pointer to the PBORCA_BuildProject error callback If you don’t want to use a callback |
|
lpszServerName |
Server name for EAServer deployment. This value |
|
iPort |
Port number for EAServer deployment. This value |
|
lpszUserid |
Login ID for the server. This value overrides the |
|
lpszPassword |
Password for the server. This value overrides the |
|
pUserData |
Pointer to user data to be passed to the callback |
Return value
INT. Typical return codes are:
|
Return code |
Description |
|---|---|
|
0 PBORCA_OK |
Operation successful. |
|
-1 PBORCA_INVALIDPARMS |
Invalid parameter list. |
|
-19 PBORCA_CBCREATEERROR |
Component Builder class not created. |
|
-20 PBORCA_CBINITERROR |
Initialization of EAServer connection |
|
-21 PBORCA_CBBUILDERROR |
Deployment failed with errors. |
See also