MyDAC

TCustomMyConnection.GetTriggerNames Method

Returns a list of triggers from the server.

Class

TCustomMyConnection

Syntax

procedure GetTriggerNames(List: TStrings; AllTriggers: boolean = False);

Parameters
List
A TStrings descendant that will be filled with the names of triggers in the database.
AllTriggers
True, if triggers from all databases are returned. False is only for the current database.

Remarks

Call the GetTriggerNames method to get the names of triggers. GetTriggerNames populates a string list with the names of triggers in the database. If AllProcs = True, the procedure returns to the List parameter the names of the triggers that belong to all databases; otherwise, List will contain the names of triggers that belong to the current database.

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

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback