RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DSMetadata.GetProcedures Method

Implementation of TDBXMetaDataCommands.GetProcedures metadata command.

Pascal
function GetProcedures(const ProcedureNamePattern: UnicodeString; const ProcedureType: UnicodeString): TDBXReader;
C++
__fastcall TDBXReader GetProcedures(const UnicodeString ProcedureNamePattern, const UnicodeString ProcedureType);

GetProcedures implements TDBXMetaDataCommands.GetProcedures metadata command.  

This implementation returns all registered server methods. If the DataSnap server was connected with a TDBXPropertyNames.ServerConnection property specified, the stored procedures from the server connection are included in the returned result.  

The parameter ProcedureNamePattern specifies the procedure name pattern. An empty string selects all procedures.  

The string parameter ProcedureType specifies the procedure type. If an empty string is specified, both procedures and functions are returned. To select just procedures, specify 'PROCEDURES'. To select just functions, specify 'FUNCTIONS'. 

GetProcedures returns a TDBXReader with the columns specified in the TDBXProceduresColumns class. 

 

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