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
System.Object
DbConnectionString<Db2ConnectionString, IBM.Data.DB2.Core.DB2ConnectionStringBuilder>
Db2ConnectionString
Namespace: ETLBox.Connection
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
System.Stringvalue

Properties

DbName

The database name

Declaration
    public override string DbName { get; set; }
Property Value
TypeDescription
System.String
Overrides
ETLBox.Connection.DbConnectionString<ETLBox.Connection.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
System.String
Overrides
ETLBox.Connection.DbConnectionString<ETLBox.Connection.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
System.String
Overrides
ETLBox.Connection.DbConnectionString<ETLBox.Connection.Db2ConnectionString, IBM.Data.DB2.Core.DB2ConnectionStringBuilder>.MasterDbName

Operators

Implicit(String to Db2ConnectionString)

Declaration
    public static implicit operator Db2ConnectionString(string value)
Parameters
TypeNameDescription
System.Stringvalue
Returns
TypeDescription
Db2ConnectionString

Implements