See Also
You are here: Interfacing > C++ Client Interface > scdriver Namespace > Classes > CConnection Class > CConnection Methods > Connect Method > Connect Method (const char *)
ContentsIndexHome
PreviousUpNext
CConnection::Connect Method (const char *)

Connects, using named pipes protocol (shared memory), to the embedded database engine. The embedded database can be loaded into client's process as dll or started in a separate process (rundll32).

C++
public: void Connect(
    const char * embdb_id
);
C#
public void Connect(
    const char * embdb_id
);
Visual Basic
Public Function Connect(
    embdb_id As const char *
) As void
Parameters
Parameters 
Description 
embdb_id 
Host name or IP address 
Returns

If method fails, the ServerException, containing the error message, will be thrown