Nota
O acesso a esta página requer autorização. Pode tentar iniciar sessão ou alterar os diretórios.
O acesso a esta página requer autorização. Pode tentar alterar os diretórios.
Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.
Represents a business logic connection.
Hierarquia de herança
System.Object
Microsoft.SqlServer.Replication.BusinessLogicSupport.BusinessLogicConnection
Namespace: Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly: Microsoft.SqlServer.Replication.BusinessLogicSupport (em Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)
Sintaxe
'Declaração
Public Class BusinessLogicConnection _
Implements IDbConnection, IDisposable
'Uso
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
O tipo BusinessLogicConnection expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
![]() |
BusinessLogicConnection() | Initializes a new instance of the BusinessLogicConnection class. |
![]() |
BusinessLogicConnection(String) | Initializes a new instance of the BusinessLogicConnection class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
![]() |
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ício
Métodos
Nome | Descrição | |
---|---|---|
![]() |
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 | (Herdado de Object.) |
![]() |
Finalize | (Herdado de Object.) |
![]() |
GetHashCode | (Herdado de Object.) |
![]() |
GetType | (Herdado de Object.) |
![]() |
MemberwiseClone | (Herdado de Object.) |
![]() |
Open | Opens a database connection with the settings specified by the ConnectionString. |
![]() |
ToString | (Herdado de Object.) |
Início
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.
Consulte também
Referência
Namespace Microsoft.SqlServer.Replication.BusinessLogicSupport