Data.Win.ADODB.TADOStoredProc.ProcedureName

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Unit: Data.Win.ADODB
Parent: TADOStoredProc

Delphi

property ProcedureName: WideString read GetCommandText write SetCommandText;

C++

__property System::WideString ProcedureName = {read=GetCommandText, write=SetCommandText};

Description

Indicates the stored procedure used by the TADOStoredProc.

Set ProcedureName to specify the stored procedure in an ADO database with which the TADOStoredProc is associated.

At design-time, the property editor displays a list of available stored procedures. This list is only possible when a valid connection can be established between the stored procedure component and a database.

At runtime, set the ProcedureName property using a WideString (or comparable) value. The value used must be a valid name for a stored procedure in the associated database.

See Also