BusinessLogicConnection Class
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Represents a business logic connection.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Replication.BusinessLogicSupport.BusinessLogicConnection
Namespace: Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly: Microsoft.SqlServer.Replication.BusinessLogicSupport (in Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)
Syntax
'Declaration
Public Class BusinessLogicConnection _
Implements IDbConnection, IDisposable
'Usage
Dim instance As BusinessLogicConnection
public class BusinessLogicConnection : IDbConnection,
IDisposable
public ref class BusinessLogicConnection : IDbConnection,
IDisposable
type BusinessLogicConnection =
class
interface IDbConnection
interface IDisposable
end
public class BusinessLogicConnection implements IDbConnection, IDisposable
The BusinessLogicConnection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BusinessLogicConnection() | Initializes a new instance of the BusinessLogicConnection class. | |
BusinessLogicConnection(String) | Initializes a new instance of the BusinessLogicConnection class. |
Top
Properties
Name | Description | |
---|---|---|
ConnectionString | Gets or sets the string used to open the connection. | |
ConnectionTimeout | Gets the time to wait for a connection to open. | |
Database | Gets the name of the current database after a connection is opened. | |
State | Gets a string that describes the state of the connection. |
Top
Methods
Name | Description | |
---|---|---|
BeginTransaction() | Starts a database transaction. | |
BeginTransaction(IsolationLevel) | Starts a database transaction with the specified isolation level. | |
ChangeDatabase | Changes the current database for an open connection. | |
Close | Closes the connection to the database. | |
CreateCommand | Creates and returns an IDbCommand object associated with the current connection. | |
Dispose | Releases all resources used by the BusinessLogicConnection. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Open | Opens a database connection with the settings specified by the ConnectionString. | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.SqlServer.Replication.BusinessLogicSupport Namespace