Data.DB.TCheckConstraint.GetDisplayName

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TCheckConstraint

Delphi

function GetDisplayName: string; override;

C++

virtual System::UnicodeString __fastcall GetDisplayName();

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