BusinessLogicConnection 類別
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Represents a business logic connection.
繼承階層
System.Object
Microsoft.SqlServer.Replication.BusinessLogicSupport.BusinessLogicConnection
命名空間: Microsoft.SqlServer.Replication.BusinessLogicSupport
組件: Microsoft.SqlServer.Replication.BusinessLogicSupport (在 Microsoft.SqlServer.Replication.BusinessLogicSupport.dll 中)
語法
'宣告
Public Class BusinessLogicConnection _
Implements IDbConnection, IDisposable
'用途
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
BusinessLogicConnection 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
![]() |
BusinessLogicConnection() | Initializes a new instance of the BusinessLogicConnection class. |
![]() |
BusinessLogicConnection(String) | Initializes a new instance of the BusinessLogicConnection class. |
上層
屬性
名稱 | 說明 | |
---|---|---|
![]() |
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. |
上層
方法
名稱 | 說明 | |
---|---|---|
![]() |
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 | (繼承自 Object。) |
![]() |
Finalize | (繼承自 Object。) |
![]() |
GetHashCode | (繼承自 Object。) |
![]() |
GetType | (繼承自 Object。) |
![]() |
MemberwiseClone | (繼承自 Object。) |
![]() |
Open | Opens a database connection with the settings specified by the ConnectionString. |
![]() |
ToString | (繼承自 Object。) |
上層
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。