|
of_Connect
|
|
Full name
|
pfc_n_tr.of_Connect
|
Access
|
public
|
Extend of
|
long
|
Return value
|
long
|
Prototype
|
public function long of_Connect()
|
Name
|
Datatype
|
ll_rc
|
long
|
ls_name
|
string
|
public function long of_Connect ();//////////////////////////////////////////////////////////////////////////////
// Public Function: of_Connect
// Arguments: None
// Returns: long - The SQLCode return value after the connect is issued
// Description: Issues a connect
//////////////////////////////////////////////////////////////////////////////
// Rev. History Version
// 5.0 Initial version
//////////////////////////////////////////////////////////////////////////////
// Copyright © 1996-1999 Sybase, Inc. and its subsidiaries. All rights reserved. Any distribution of the
// PowerBuilder Foundation Classes (PFC) source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//////////////////////////////////////////////////////////////////////////////
long ll_rc
string ls_name
// If SQLSpy is available, add to the history
if IsValid (gnv_app) then
if IsValid (gnv_app.inv_debug) then
ls_name = this.is_Name
if Len (ls_name) = 0 then
ls_name = this.ClassName()
end if
if IsValid (gnv_app.inv_debug.inv_sqlspy) then
gnv_app.inv_debug.inv_sqlspy.of_SQLSyntax ("Connect using " + ls_name)
end if
end if
end if
connect using this;
ll_rc = this.SQLCode
return ll_rc
end function
Name
|
Owner
|
powerobject.classname |
powerobject
|
systemfunctions.isvalid |
systemfunctions
|
systemfunctions.len |
systemfunctions
|
pfc_n_cst_sqlspy.of_sqlsyntax |
pfc_n_cst_sqlspy
|