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 | |
---|---|---|
BusinessLogicConnection() | Initializes a new instance of the BusinessLogicConnection class. | |
BusinessLogicConnection(String) | Initializes a new instance of the BusinessLogicConnection class. |
In alto
Proprietà
Nome | Descrizione | |
---|---|---|
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. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
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 | Ereditato da Object. | |
Finalize | Ereditato da Object. | |
GetHashCode | Ereditato da Object. | |
GetType | Ereditato da Object. | |
MemberwiseClone | Ereditato da Object. | |
Open | Opens a database connection with the settings specified by the ConnectionString. | |
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