RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TADOConnection.GetProcedureNames Method (TStrings)

Populates a string list with the names of stored procedures in the database.

Pascal
procedure GetProcedureNames(List: TWideStrings); overload;
procedure GetProcedureNames(List: TStrings); overload;
C++
__fastcall GetProcedureNames(TWideStrings List);
__fastcall GetProcedureNames(TStrings List);

Call GetProcedureNames to retrieve a list of stored procedures in the associated database. The names of the stored procedures are put into the already-existing string list object specified in the List parameter.

ADOConnection1.GetProcedureNames(ListBox1.Items);

 

ADOConnection1->GetProcedureNames(ListBox1->Items);

Note: Any contents already in the target string list object are eliminated and overwritten by the data produces by GetProcedureNames.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!