|
destructor
|
|
Full name
|
pfc_n_cst_dwcache.destructor
|
Access
|
public
|
Extend of
|
|
Return value
|
|
Prototype
|
event destructor()
|
Name
|
Datatype
|
li_cnt
|
Integer
|
li_upper
|
Integer
|
event destructor;//////////////////////////////////////////////////////////////////////////////
//
// Event: destructor
//
// Description: Service is shutting down so destroy all registered
// datastores.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision 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.
//
//////////////////////////////////////////////////////////////////////////////
Integer li_cnt
Integer li_upper
// Destroy all registered datastores.
li_upper = UpperBound (inv_cachelist)
For li_cnt = 1 to li_upper
If IsValid (inv_cachelist[li_cnt].ds_obj) Then
Destroy inv_cachelist[li_cnt].ds_obj
End If
Next
end event
Name
|
Owner
|
systemfunctions.isvalid |
systemfunctions
|
systemfunctions.upperbound |
systemfunctions
|