ibec_GetConnectionProp
The ibec_GetConnectionProp function offers the additional possibility to get the server version of the active connection.
Syntax
function ibec_GetConnectionProp(Connection : variant, PropertyName : string);
Example
execute ibeblock as begin FBSrc = ibec_CreateConnection(__ctFirebird,'DBName="localhost:d:\mydb.fdb"; ClientLib=fbclient.dll; user=SYSDBA; password=masterkey; names=UTF8; sqldialect=3'); ibec_UseConnection(FBSrc); SrvVerStr = ibec_GetConnectionProp(FBSrc, 'ServerVersion'); ibec_ShowMessage(SrvVerStr); ibec_CloseConnection(FBSrc); end
back to top of page
<< ibec_SetConnectionProp | IBEBlock | ibec_GetUserDBConnection >>