ConnectionDefinition

Overview

Stores information about a Data Abstract connection and administers the related connection pool in behalf of a ConnectionManager.

Note: Connection definitions are normally listed by a ConnectionManager and defined using the Schema Manager connection wizard. They can be loaded at runtime by using one of the several Load methods of the ConnectionManager.

Location

 

constructor

 

constructor

 

ConnectionDefinition()

 

Sub New

constructor (String, String, PoolBehavior, Int32, Int32)

Default constructor for ConnectionDefinition.

 

constructor(name: String; connectionString: String; poolBehavior: PoolBehavior; maxPoolSize: Int32; waitTimeout: Int32)

 

ConnectionDefinition(String name, String connectionString, PoolBehavior poolBehavior, Int32 maxPoolSize, Int32 waitTimeout)

 

Sub New (name As String, connectionString As String, poolBehavior As PoolBehavior, maxPoolSize As Int32, waitTimeout As Int32)

Parameters:

  • name:
  • connectionString:
  • poolBehavior:
  • maxPoolSize:
  • waitTimeout:

ConnectionString

A string used to identify a database connection. Connection strings are in the format ?=;=;...

 

property ConnectionString: String read write;

 

String ConnectionString { get; set; }

 

Property ConnectionString As String

ConnectionType

 

property ConnectionType: String read write;

 

String ConnectionType { get; set; }

 

Property ConnectionType As String

Description

A description for this connection definition. The value of this property is purely descriptive and for documentation purposes only; it is not used in code.

 

property Description: String read write;

 

String Description { get; set; }

 

Property Description As String

Pool

A reference to the ConnectionPool object managing live connections for this definition.

Note: This property is used internally by the ConnectionManager and usually not accessed directly from user code.

 

property Pool: ConnectionPool read;

 

ConnectionPool Pool { get; }

 

Property ReadOnly Pool As ConnectionPool

 

ConnectionString

A string used to identify a database connection. Connection strings are in the format ?=;=;...

 

property ConnectionString: String read write;

 

String ConnectionString { get; set; }

 

Property ConnectionString As String

ConnectionType

 

property ConnectionType: String read write;

 

String ConnectionType { get; set; }

 

Property ConnectionType As String

Description

A description for this connection definition. The value of this property is purely descriptive and for documentation purposes only; it is not used in code.

 

property Description: String read write;

 

String Description { get; set; }

 

Property Description As String

Pool

A reference to the ConnectionPool object managing live connections for this definition.

Note: This property is used internally by the ConnectionManager and usually not accessed directly from user code.

 

property Pool: ConnectionPool read;

 

ConnectionPool Pool { get; }

 

Property ReadOnly Pool As ConnectionPool

 

constructor

 

constructor

 

ConnectionDefinition()

 

Sub New

constructor (String, String, PoolBehavior, Int32, Int32)

Default constructor for ConnectionDefinition.

 

constructor(name: String; connectionString: String; poolBehavior: PoolBehavior; maxPoolSize: Int32; waitTimeout: Int32)

 

ConnectionDefinition(String name, String connectionString, PoolBehavior poolBehavior, Int32 maxPoolSize, Int32 waitTimeout)

 

Sub New (name As String, connectionString As String, poolBehavior As PoolBehavior, maxPoolSize As Int32, waitTimeout As Int32)

Parameters:

  • name:
  • connectionString:
  • poolBehavior:
  • maxPoolSize:
  • waitTimeout: