Classe BusinessLogicConnection
Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.
Represents a business logic connection.
Hiérarchie d'héritage
System.Object
Microsoft.SqlServer.Replication.BusinessLogicSupport.BusinessLogicConnection
Espace de noms : Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly : Microsoft.SqlServer.Replication.BusinessLogicSupport (en Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)
Syntaxe
'Déclaration
Public Class BusinessLogicConnection _
Implements IDbConnection, IDisposable
'Utilisation
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
Le type BusinessLogicConnection expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
![]() |
BusinessLogicConnection() | Initializes a new instance of the BusinessLogicConnection class. |
![]() |
BusinessLogicConnection(String) | Initializes a new instance of the BusinessLogicConnection class. |
Haut de la page
Propriétés
Nom | 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. |
Haut de la page
Méthodes
Nom | 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 | (hérité de Object.) |
![]() |
Finalize | (hérité de Object.) |
![]() |
GetHashCode | (hérité de Object.) |
![]() |
GetType | (hérité de Object.) |
![]() |
MemberwiseClone | (hérité de Object.) |
![]() |
Open | Opens a database connection with the settings specified by the ConnectionString. |
![]() |
ToString | (hérité de Object.) |
Haut de la page
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Replication.BusinessLogicSupport