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.


Namespace:  Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly:  Microsoft.SqlServer.Replication.BusinessLogicSupport (in Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)

public class BusinessLogicConnection : IDbConnection, 

The BusinessLogicConnection type exposes the following members.

Public methodBusinessLogicConnection()Initializes a new instance of the BusinessLogicConnection class.
Public methodBusinessLogicConnection(String)Initializes a new instance of the BusinessLogicConnection class.

Public propertyConnectionStringGets or sets the string used to open the connection.
Public propertyConnectionTimeoutGets the time to wait for a connection to open.
Public propertyDatabaseGets the name of the current database after a connection is opened.
Public propertyStateGets a string that describes the state of the connection.

Public methodBeginTransaction()Starts a database transaction.
Public methodBeginTransaction(IsolationLevel)Starts a database transaction with the specified isolation level.
Public methodChangeDatabaseChanges the current database for an open connection.
Public methodCloseCloses the connection to the database.
Public methodCreateCommandCreates and returns an IDbCommand object associated with the current connection.
Public methodDisposeReleases all resources used by the BusinessLogicConnection.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOpenOpens a database connection with the settings specified by the ConnectionString.
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions