# QvEventLogServer.cs reference

## CreateConnection() method

This returns a new instance of QvEventLogConnection, which defines all of the tables and columns required and the method for retrieving the rows from the data source in QvEventLogConnection.cs.

`CreateConnection()`

### Returns:

A new instance of QvEventLogConnection.

## CreateConnectionString() method

This method is called when Qlik Sense or QlikView sends a QVX\_EDIT\_CONNECT command. The method must be implemented by the user and may return connect string parameters.

`CreateConnectionString()`

### Returns:

String with parameters. Example:

`“Server=localhost;UserId=SomeUserName”`