|
of_unregister
|
|
Full name
|
pfc_n_cst_dwsrv_dropdownsearch.of_unregister
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_unregister(string)
|
Name
|
Datatype
|
li_index
|
integer
|
public function integer of_unregister (string as_column);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_Unregister
//
// Access: public
//
// Arguments:
// as_column Column to unregister from the service.
//
// Returns: Integer
// 1 succesful operation.
// 0 if column not found.
// -1 if an error is encountered.
//
// Description: This function is called to unregister a column from the list the
// services uses.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.0 Initial version - Replaces obsoleted function of_RemoveColumn.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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_index
// Find the column in the array.
li_index = of_SearchItem(as_column)
// Check if column was found.
if not li_index >0 THEN return 0
// Delete the column from the array.
Return of_DeleteItem(li_index)
end function