Table of Contents

Class AppConfiguration_Connection

Namespace
PolarStudio
Assembly
PolarStudio.dll

This class contains the configuration parameters for a connection

public class AppConfiguration_Connection
Inheritance
AppConfiguration_Connection
Inherited Members
Extension Methods

Properties

ConnectionType

Returns the current type of connection

public AppConfiguration_Connection.AppConfigurationConnectionType ConnectionType { get; }

Property Value

AppConfiguration_Connection.AppConfigurationConnectionType

CustomConnectionString

A custom connection string to use. All other parameters can be left empty.

public string CustomConnectionString { get; set; }

Property Value

string

Database

The name of the database to connect to. Leave empty for JET databases.

public string Database { get; set; }

Property Value

string

DatabasePath

The full path to the MDB file for JET databases.

public string DatabasePath { get; set; }

Property Value

string

MDWfilePath

The full path to an optional MDW security file for JET databases.

public string MDWfilePath { get; set; }

Property Value

string

Password

The password for making the connection. Use empty for integrated security.

public string Password { get; set; }

Property Value

string

Server

The server to connect to. Leave empty for JET databases.

public string Server { get; set; }

Property Value

string

UserName

The username for making the connection. Use empty for integrated security.

public string UserName { get; set; }

Property Value

string

Methods

CreateConnection()

To get a database connection for the current parameters

public PolarConnection CreateConnection()

Returns

PolarConnection

ToString()

To print out the parameters of the connection.

public override string ToString()

Returns

string

A string with the relevant parameters