Condividi tramite


Classe BusinessLogicConnection

Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.

Represents a business logic connection.

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly:  Microsoft.SqlServer.Replication.BusinessLogicSupport (in Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)

Sintassi

'Dichiarazione
Public Class BusinessLogicConnection _
    Implements IDbConnection, IDisposable
'Utilizzo
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

Nel tipo BusinessLogicConnection sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico BusinessLogicConnection() Initializes a new instance of the BusinessLogicConnection class.
Metodo pubblico BusinessLogicConnection(String) Initializes a new instance of the BusinessLogicConnection class.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica ConnectionString Gets or sets the string used to open the connection.
Proprietà pubblica ConnectionTimeout Gets the time to wait for a connection to open.
Proprietà pubblica Database Gets the name of the current database after a connection is opened.
Proprietà pubblica State Gets a string that describes the state of the connection.

In alto

Metodi

  Nome Descrizione
Metodo pubblico BeginTransaction() Starts a database transaction.
Metodo pubblico BeginTransaction(IsolationLevel) Starts a database transaction with the specified isolation level.
Metodo pubblico ChangeDatabase Changes the current database for an open connection.
Metodo pubblico Close Closes the connection to the database.
Metodo pubblico CreateCommand Creates and returns an IDbCommand object associated with the current connection.
Metodo pubblico Dispose Releases all resources used by the BusinessLogicConnection.
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico Open Opens a database connection with the settings specified by the ConnectionString.
Metodo pubblico ToString Ereditato da Object.

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Replication.BusinessLogicSupport