|
of_getobjects
|
|
Full name
|
pfc_u_lvs.of_getobjects
|
Access
|
protected
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
protected function integer of_getobjects(ref powerobject[])
|
Name
|
Datatype
|
lds_source
|
n_ds
|
protected function integer of_getobjects (ref powerobject apo_objects[]);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_GetObjects
//
// Access: protected
//
// Arguments:
// apo_objects[] (by reference) An array of objects on which the update process
// will take effect.
//
// Returns: integer
// # of objects in the array if successful
// -1 = error
//
// Description:
// Gets the current objects for which an updates will be attempted.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1996-1997 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.
//
//////////////////////////////////////////////////////////////////////////////
n_ds lds_source
// Determine the datasource.
If IsValid(inv_datasource) Then
If inv_datasource.of_GetDataSource(lds_source) < 1 then Return -1
apo_objects[1] = lds_source
Return upperbound(apo_objects)
End If
Return -1
end function