Data.DB.TCheckConstraint.GetDisplayName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetDisplayName: string; override;

C++

virtual System::UnicodeString __fastcall GetDisplayName();

Properties

Type Visibility Source Unit Parent
function public
Data.DB.pas
Data.DB.hpp
Data.DB TCheckConstraint

Description

Retrieves the current text for a constraint.

Call GetDisplayName to retrieve the current text for a check constraint. GetDisplayName returns the current value of the ImportedConstraint property, unless it is an empty string. In that case it returns the current value of the CustomConstraint property. If it, too, is an empty string, GetDisplayName returns the class name of the object.

See Also