company logo

DataSourceHandle :: SetConnectionName - Set name for connection cache

The function will initialize a unique name for the connection to cache the connection on the server side. When no name (cache_string) or an empty string has passed, the connection name is reset.

Return value:  Success ( logical  )

Implementation details

logical DataSourceHandle  :: SetConnectionName ( NString &cache_string=NString::Null() )
  • cache_string - CONNECTION_NAME option

    The connection name is used for reconnecting the database.

    Default: NString::Null()