Skip to main content

FireBirdConnectionParameters.ConnectionType Property

Gets or sets whether to connect to a database server or an embedded database.

Namespace: DevExpress.DataAccess.ConnectionParameters

Assembly: DevExpress.DataAccess.v23.2.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public FireBirdConnectionType ConnectionType { get; set; }

Property Value

Type Description
FireBirdConnectionType

A FireBirdConnectionType enumeration member that specifies whether to connect to a database server or an embedded database.

Available values:

Name Description
ServerBased

A connection is established to a Firebird database server.

Embedded

The connection is established to an embedded Firebird database.

Remarks

If a connection is established to an embedded database (the ConnectionType property is set to FireBirdConnectionType.Embedded), use the following properties to specify connection parameters.

FireBirdConnectionParameters.FileName

Gets or sets the path to a database file.

FireBirdConnectionParameters.UserName

Gets or sets the user name used for authentication.

FireBirdConnectionParameters.Password

Gets or sets the password used for authentication.

If the connection is established to a database server (the ConnectionType property is set to FireBirdConnectionType.ServerBased), use the following properties to specify the connection parameters.

FireBirdConnectionParameters.ServerName

Gets or sets the name of the Firebird server to which the connection should be established.

FireBirdConnectionParameters.DatabaseName

Gets or sets the name of the database that contains the required data.

FireBirdConnectionParameters.UserName

Gets or sets the user name used for authentication.

FireBirdConnectionParameters.Password

Gets or sets the password used for authentication.

See Also