IDACanQueryGeneratorsNames

Overview

IDACanQueryGeneratorsNames contains a method to receive a list of existing database generators.

This example demonstrates how to use the IDACanQueryGeneratorsNames interface:

var
  aConn:IDAConnection;
  aCanQueryGenNames:IDACanQueryGeneratorsNames;
  aGenNames:IROStrings;
begin
  
aConn := Schema.ConnectionManager.NewConnection('EMPLOYEE');
  if (Supports(aConn, IDACanQueryGeneratorsNames, 
aCanQueryGenNames)) then
  begin
    aGenNames := aCanQueryGenNames.GetGeneratorNames();
    //aGenNames.Strings[I]
    
//.....................
  end;
end;

Location


Required Methods


GetGeneratorNames

Returns the generators list in IROStrings format. You can use the strings property to expose the underlying TString instance wrapped by this interface.

function GetGeneratorNames: IROStrings