Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

System.Object
  Microsoft.SqlServer.Replication.BusinessLogicSupport.BusinessLogicConnection

Namespace:  Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly:  Microsoft.SqlServer.Replication.BusinessLogicSupport (in Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)
public class BusinessLogicConnection : IDbConnection, 
	IDisposable

The BusinessLogicConnection type exposes the following members.

  NameDescription
Public methodBusinessLogicConnection()Initializes a new instance of the BusinessLogicConnection class.
Public methodBusinessLogicConnection(String)Initializes a new instance of the BusinessLogicConnection class.
Top
  NameDescription
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.
Top
  NameDescription
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.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.