Db2ConnectionString

Class Db2ConnectionString

A helper class for encapsulating a connection string to a Db2 server in an object. Internally the Db2SqlConnectionStringBuilder is used to access the values of the given connection string.

Inheritance
DbConnectionString<Db2ConnectionString, DB2ConnectionStringBuilder>
Db2ConnectionString
Namespace: ETLBox.Db2
Assembly: ETLBox.Db2.dll
Syntax
    public class Db2ConnectionString : DbConnectionString<Db2ConnectionString, DB2ConnectionStringBuilder>, IDbConnectionString

Constructors

Db2ConnectionString()

Declaration
    public Db2ConnectionString()

Db2ConnectionString(string)

Declaration
    public Db2ConnectionString(string value)
Parameters
TypeNameDescription
stringvalue

Properties

DbName

The database name

Declaration
    public override string DbName { get; set; }
Property Value
TypeDescription
string
Overrides
ETLBox.DbConnectionString<ETLBox.Db2.Db2ConnectionString, IBM.Data.DB2.Core.DB2ConnectionStringBuilder>.DbName

DbNameKeyword

The keyword used in the connection string to identify a database

Declaration
    protected override string DbNameKeyword { get; }
Property Value
TypeDescription
string
Overrides
ETLBox.DbConnectionString<ETLBox.Db2.Db2ConnectionString, IBM.Data.DB2.Core.DB2ConnectionStringBuilder>.DbNameKeyword

MasterDbName

The name of the master database (if applicable)

Declaration
    public override string MasterDbName { get; }
Property Value
TypeDescription
string
Overrides
ETLBox.DbConnectionString<ETLBox.Db2.Db2ConnectionString, IBM.Data.DB2.Core.DB2ConnectionStringBuilder>.MasterDbName

Operators

implicit operator Db2ConnectionString(string)

Declaration
    public static implicit operator Db2ConnectionString(string value)
Parameters
TypeNameDescription
stringvalue
Returns
TypeDescription
Db2ConnectionString

Implements