Gets the current SqlConnection to the database.
Namespace:
Asi.iBOAssembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.2.0
Syntax
| C# |
|---|
public SqlConnection Connection { get; } |
| Visual Basic (Declaration) |
|---|
Public ReadOnly Property Connection As SqlConnection |
| Visual C++ |
|---|
public: property SqlConnection^ Connection { SqlConnection^ get (); } |
Field Value
A SqlConnection object to be used by this instance of the DataServer to interact with the database.
Remarks
If there is not currently a connection a new one will be created and returned.