Exemple

//------------------------------------------------------------------- // ECLConnection::FindConnection // // Find connection 'B' in the list of connections. If found, display // its type. //------------------------------------------------------------------- void Sample23() { ECLConnection *Info; // Pointer to connection object ECLConnList ConnList; // Connection list object char TypeString[21]; // Type of connection Info = ConnList.FindConnection('B'); // Find connection by name if (Info != NULL) { ECLBase::ConvertTypeToString(Info->GetConnType(), TypeString); printf("Connection 'B' is a %s type connection.\n", TypeString); } else printf("Connection 'B' not found.\n"); } // end sample