次の方法で共有


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 から継承されています。)

先頭に戻る

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

関連項目

参照

Microsoft.SqlServer.Replication.BusinessLogicSupport 名前空間