Caprices

SQLiteConnection

継承

  1. DbConnection
  2. ICloneable
  3. IDisposable
コンストラクタ
▲上へ
public SQLiteConnection();
概要
Default constructor
デフォルト コンストラクタ
public SQLiteConnection( SQLiteConnection connection );
概要
Clones the settings and connection string from an existing connection. If the existing connection is already open, this function will open its own connection, enumerate any attached databases of the original connection, and automatically attach to them.
クローン 既存の接続からの設定と接続ストリング 。もしすでに既存の接続が開いているならば、この機能はそれ自身の接続を開き、オリジナルの接続のどのような付属していたデータベースでも列挙し、それらに自動的に付属する。
パラメーター
connection:
The connection to copy the settings from.
それから設定をコピーする接続。
public SQLiteConnection( string connectionString );
概要
Initializes the connection with the specified connection string.
指定された接続ストリングとの関係を初期設定する。
パラメーター
connectionString:
The connection string to use.
使用への接続ストリング。
public SQLiteConnection( string connectionString, bool parseViaFramework );
概要
Initializes the connection with the specified connection string.
指定された接続ストリングとの関係を初期設定する。
パラメーター
connectionString:
The connection string to use.
使用への接続ストリング。
parseViaFramework:
Non-zero to parse the connection string using the built-in (i.e. framework provided) parser when opening the connection.
接続を開く時に、内蔵の(すなわち、枠組は提供した)パーザを使って接続ストリングを構文解析する不 0。
プロパティ
▲上へ
public bool AutoCommit { get }
概要
Returns non-zero if the given database connection is in autocommit mode. Autocommit mode is on by default. Autocommit mode is disabled by a BEGIN statement. Autocommit mode is re-enabled by a COMMIT or ROLLBACK.
リターン もしオートコミットモードの与えられたデータベース接続の所不 0 。オートコミットモードはデフォルトでオンである。オートコミットモードはBEGINステートメントにより使用不可にされる。オートコミットモードはCOMMITまたはROLLBACKのため再可能である。
デフォルト コンストラクタ使用時 : 【例外をスロー】
public int BusyTimeout { get set }
概要
Gets/sets the default busy timeout to use with the SQLite core library. This is only used when opening a connection.
SQLite中心的ライブラリによって使うデフォルト多忙タイムアウト。これは、接続を開く時に使われるだけである。
デフォルト コンストラクタ使用時 : 0
public int Changes { get }
概要
Returns the number of rows changed by the last INSERT, UPDATE, or DELETE statement executed on this connection.
リターン この接続において実行された最後のINSERT、UPDATE、またはDELETEステートメントによって変更された列の数 。
デフォルト コンストラクタ使用時 : 【例外をスロー】
public static ISQLiteConnectionPool ConnectionPool { get set }
概要
This property is used to obtain or set the custom connection pool implementation to use, if any. Setting this property to null will cause the default connection pool implementation to be used.
このプロパティは、もしあれば、通用するか、または使うためにカスタムの接続プールインプリメンテーションを設定するために使用される。この財産を零にセットすることは、デフォルト接続プールインプリメンテーションを使う。
public override string ConnectionString { get set }
概要
The connection string containing the parameters for the connection
接続のためのパラメータを含んでいる接続ストリング
デフォルト コンストラクタ使用時 : null
コメント
For the complete list of supported connection string properties, please see System.Data.SQLite.SQLiteConnection.
サポートされた接続ストリングプロパティの完全なリストのために、どうぞ、System.Data.SQLite.SQLiteConnectionを見てください。
public override string Database { get }
概要
Returns the string "main".
リターンストリング「主要」。
public override string DataSource { get }
概要
Returns the data source file name without extension or path.
拡張またはパスなしのリターンデータソースファイル名。
デフォルト コンストラクタ使用時 : null
protected override DbProviderFactory DbProviderFactory { get }
概要
Returns the System.Data.SQLite.SQLiteFactory instance.
リターンSystem.Data.SQLite.SQLiteFactory例。
デフォルト コンストラクタ使用時 : System.Data.SQLite.SQLiteFactory
public DbType? DefaultDbType { get set }
概要
Gets/sets the default database type for this connection. This value will only be used when not null.
この接続のためのデフォルトデータベースタイプ。この価値は使われるだけである 時 not 零 。
デフォルト コンストラクタ使用時 : null
public static SQLiteConnectionFlags DefaultFlags { get }
概要
The default connection flags to be used for all opened connections when they are not present in the connection string.
接続ストリングでそれらが出席しない時には、デフォルト接続は、すべての開かれた接続のために使われるようにたれ下がる。
public int DefaultTimeout { get set }
概要
Gets/sets the default command timeout for newly-created commands. This is especially useful for commands used internally such as inside a SQLiteTransaction, where setting the timeout is not possible. This can also be set in the ConnectionString with "Default Timeout"
新しく作成されたコマンドのためのデフォルトコマンドタイムアウト。これは、内部で 設定 タイムアウトが可能ではないSQLiteTransactionの中など使われたコマンドに特に有益である。これはまた、「デフォルトタイムアウト」によってConnectionStringに設定できる
public string DefaultTypeName { get set }
概要
Gets/sets the default database type name for this connection. This value will only be used when not null.
この接続のためのデフォルトデータベースタイプ名。この価値は使われるだけである 時 not 零 。
public static string DefineConstants { get }
概要
Returns a string containing the define constants (i.e. compile-time options) used to compile the core managed assembly, delimited with spaces.
スペースによって区切られた中心的な管理されたアセンブリをコンパイルするために、定義する定数(すなわち、コンパイル時間オプション)を含んでいるストリングが用いたリターン。
public string FileName { get }
概要
Returns the fully qualified path and file name for the currently open database, if any.
もしあればの現在開いているデータベースのためのリターン完全に有資格のパスとファイル名。
public SQLiteConnectionFlags Flags { get set }
概要
Gets/sets the extra behavioral flags for this connection. See the System.Data.SQLite.SQLiteConnectionFlags enumeration for a list of possible values.
この接続のための特別な行動フラグ。可能な値のリストのためのSystem.Data.SQLite.SQLiteConnectionFlags列挙を見なさい。
public static string InteropCompileOptions { get }
概要
Returns a string containing the compile-time options used to compile the SQLite interop assembly, delimited with spaces.
スペースによって区切られたSQLite interopアセンブリをコンパイルするために、コンパイル時間オプションを含んでいるストリングが用いたリターン。
public static string InteropSourceId { get }
概要
This method returns the string whose value contains the unique identifier for the source checkout used to build the interop assembly. If the SQLite interop assembly is not in use or the necessary information cannot be obtained for any reason, a null value may be returned.
この方法は、価値がinteropアセンブリを築くために用いられたソースチェックアウトのためのユニークな識別子を含んでいるストリングを戻す。もしSQLite interopアセンブリが使用されていないか、または、少しの理由のためにも必要な情報が得られえないならば、無効な価値は戻されるであろう。
public static string InteropVersion { get }
概要
This method returns the version of the interop SQLite assembly used. If the SQLite interop assembly is not in use or the necessary information cannot be obtained for any reason, a null value may be returned.
この方法は、使われたinterop SQLiteアセンブリのバージョンを戻す。もしSQLite interopアセンブリが使用されていないか、または、少しの理由のためにも必要な情報が得られえないならば、無効な価値は戻されるであろう。
public long LastInsertRowId { get }
概要
Returns the rowid of the most recent successful INSERT into the database from this connection.
この接続からのデータベースへの最も最近成功INSERTのリターン行 ID。
public long MemoryHighwater { get }
概要
Returns the maximum amount of memory (in bytes) used by the SQLite core library since the high-water mark was last reset.
高潮標以来SQLite中心的ライブラリにより使われたメモリー(バイトの)の最大の量が最後のリセットであったリターン。
public long MemoryUsed { get }
概要
Returns the amount of memory (in bytes) currently in use by the SQLite core library.
リターン メモリー(バイトの)の量 現在 SQLite中心的ライブラリによる使用 。
public bool OwnHandle { get }
概要
Returns non-zero if the underlying native connection handle is owned by this instance.
リターン もしこの例による横たわりネイティブの接続ハンドルの所有不 0 。
public bool ParseViaFramework { get set }
概要
Non-zero if the built-in (i.e. framework provided) connection string parser should be used when opening the connection.
もし接続を開く時の内蔵の(すなわち、枠組は提供した)接続ストリングパーザの使用不 0。
public int PoolCount { get }
概要
Returns the number of pool entries for the file name associated with this connection.
ファイル名のためのプール入力の数がこの接続と結び付けたリターン。
public int PrepareRetries { get set }
概要
The maximum number of retries when preparing SQL to be executed. This normally only applies to preparation errors resulting from the database schema being changed.
実行されるSQLを準備する時のリトライの最大の数。これは、普通、変更されているデータベーススキーマに起因している準備エラーにあてはまるだけである。
public int ProgressOps { get set }
概要
The approximate number of virtual machine instructions between progress events. In order for progress events to actually fire, the event handler must be added to the System.Data.SQLite.SQLiteConnection.Progress event as well. This value will only be used when the underlying native progress callback needs to be changed.
進歩イベントの間の仮想マシン手順のおおよその数。実際、進歩イベントが点火するように、イベントハンドラはその上、System.Data.SQLite.SQLiteConnection.Progressイベントに追加されなければならない。横たわりネイティブの進歩コールバックが変更される必要がある時には、この価値は使われるだけである。
public static string ProviderSourceId { get }
概要
This method returns the string whose value contains the unique identifier for the source checkout used to build the managed components currently executing. If the necessary information cannot be obtained for any reason, a null value may be returned.
この方法は、価値が管理されたコンポーネント現在の実行を築くために用いられたソースチェックアウトのためのユニークな識別子を含んでいるストリングを戻す。もし少しの理由のためにも必要な情報が得られえないならば、無効な価値は戻されるであろう。
public static string ProviderVersion { get }
概要
This method returns the version of the managed components used to interact with the SQLite core library. If the necessary information cannot be obtained for any reason, a null value may be returned.
この方法は、SQLite中心的ライブラリと対話するために使用された管理されたコンポーネントのバージョンを戻す。もし少しの理由のためにも必要な情報が得られえないならば、無効な価値は戻されるであろう。
public override string ServerVersion { get }
概要
Returns the version of the underlying SQLite database engine
潜在的なSQLiteデータベースエンジンのリターンバージョン
public static SQLiteConnectionFlags SharedFlags { get set }
概要
The extra connection flags to be used for all opened connections.
特別な接続は、すべての開かれた接続のために使われるようにたれ下がる。
public static string SQLiteCompileOptions { get }
概要
Returns a string containing the compile-time options used to compile the SQLite core native library, delimited with spaces.
スペースによって区切られた中心的なSQLiteネイティブライブラリをコンパイルするために、コンパイル時間オプションを含んでいるストリングが用いたリターン。
public static string SQLiteSourceId { get }
概要
This method returns the string whose value is the same as the SQLITE_SOURCE_ID C preprocessor macro used when compiling the SQLite core library.
この方法は、価値がSQLite中心的ライブラリをコンパイルする時にSQLITE_SOURCE_ID Cプリプロセッサーマクロが使ったのと同じストリングを戻す。
public static string SQLiteVersion { get }
概要
Returns the version of the underlying SQLite core library.
潜在的なSQLite中心的ライブラリのリターンバージョン。
public override ConnectionState State { get }
概要
Returns the state of the connection.
接続のリターン状態。
public string VfsName { get set }
概要
Gets/sets the VFS name for this connection. This value will only be used when opening the database.
この接続のためのVFS名。この価値は、データベースを開く時に使われるだけである。
public int WaitTimeout { get set }
概要
EXPERIMENTAL -- The wait timeout to use with System.Data.SQLite.SQLiteConnection.WaitForEnlistmentReset(System.Int32,System.Nullable{System.Boolean}) method. This is only used when waiting for the enlistment to be reset prior to enlisting in a transaction, and then only when the appropriate connection flag is set.
実験的--System.Data.SQLite.SQLiteConnection.WaitForEnlistmentReset(System.Int32、System.Nullable{System.Boolean})方法によって使う待機タイムアウト。トランザクションに入隊することに先がけて、兵籍編入がリセットされることを待つ時に、これが使われるだけであることと、そして適切な接続旗がセットされる時だけ。
イベント
▲上へ
public event SQLiteAuthorizerEventHandler Authorize;
概要
This event is raised whenever SQLite encounters an action covered by the authorizer during query preparation. Changing the value of the System.Data.SQLite.AuthorizerEventArgs.ReturnCode property will determine if the specific action will be allowed, ignored, or denied. For the entire duration of the event, the associated connection and statement objects must not be modified, either directly or indirectly, by the called code.
SQLiteが、質問準備の間に認証許可者によりカバーされた行動に遭遇する時には、いつでもこのイベントが上げられる。System.Data.SQLite.AuthorizerEventArgs.ReturnCodeプロパティの値を変更することによって、具体的な行動が許されるかどうかを決定し 無視される か、または否定される。イベント、関連した接続、およびステートメントオブジェクトの全体の期間の間修正されてはならない 呼ばれるコードによる直接的または傍系 。
public static event SQLiteConnectionEventHandler Changed;
概要
This event is raised when events related to the lifecycle of a SQLiteConnection object occur.
SQLiteConnectionオブジェクトのlifecycleと関連したイベントが起こる時には、このイベントが上げられる。
public event SQLiteCommitHandler Commit;
概要
This event is raised whenever SQLite is committing a transaction. Return non-zero to trigger a rollback.
SQLiteがトランザクションを委任する時には、いつでもこのイベントが上げられる。ロールバックを引き起こす帰りの不 0。
public event SQLiteProgressEventHandler Progress;
概要
This event is raised periodically during long running queries. Changing the value of the System.Data.SQLite.ProgressEventArgs.ReturnCode property will determine if the operation in progress will continue or be interrupted. For the entire duration of the event, the associated connection and statement objects must not be modified, either directly or indirectly, by the called code.
このイベントは長い運転質問の間に、周期的に上げられる。System.Data.SQLite.ProgressEventArgs.ReturnCodeプロパティの値を変更することにより、進歩の操作が続くか、中断されるかが決定される。イベント、関連した接続、およびステートメントオブジェクトの全体の期間の間修正されてはならない 呼ばれるコードによる直接的または傍系 。
public event EventHandler RollBack;
概要
This event is raised whenever SQLite is rolling back a transaction.
SQLiteがトランザクションを巻き戻している時には、いつでもこのイベントが上げられる。
public override event StateChangeEventHandler StateChange;
概要
This event is raised whenever the database is opened or closed.
データベースが開かれるか、または閉じられる時には、いつでもこのイベントが上げられる。
public event SQLiteTraceEventHandler Trace;
概要
This event is raised whenever SQLite statement first begins executing on this connection. It only applies to the given connection.
最初SQLiteステートメントがこの接続において実行しはじめる時には、いつでもこのイベントが上げられる。それは、与えられた接続にあてはまるだけである。
public event SQLiteUpdateEventHandler Update;
概要
This event is raised whenever SQLite makes an update/delete/insert into the database on this connection. It only applies to the given connection.
この接続においてSQLiteが、アップデート/削除/挿入をデータベースにする時には、いつでもこのイベントが上げられる。それは、与えられた接続にあてはまるだけである。
メソッド
▲上へ
public int AddTypeMapping( string typeName, DbType dataType, bool primary );
概要
Adds a per-connection type mapping, possibly replacing one or more that already exist.
ことによると、すでに存在する1以上を取り替えて接続あたりタイプマッピングを追加する。
パラメーター
typeName:
The case-insensitive database type name (e.g. "MYDATE"). The value of this parameter cannot be null. Using an empty string value (or a string value consisting entirely of whitespace) for this parameter is not recommended.
ケースインセンシティブデータベースタイプ名(例えば「MYDATE」)。このパラメータの値は無効であるはずがない。このパラメータのための空のストリング値(または、空白から完全に成るストリング値)を使うのは推奨されない。
dataType:
The System.Data.DbType value that should be associated with the specified type name.
指定されたタイプ名と関連するべきSystem.Data.DbType値。
primary:
Non-zero if this mapping should be considered to be the primary one for the specified System.Data.DbType.
もし指定されたSystem.Data.DbTypeのために主要なものであることのこのマッピングの考慮不 0。
戻り値
A negative value if nothing was done. Zero if no per-connection type mappings were replaced (i.e. it was a pure add operation). More than zero if some per-connection type mappings were replaced.
もし何の不行ないネガティブな価値も。もし全然接続あたりタイプマッピングの不取り替え0(すなわち、それは純粋な追加操作であった)。もしいくつかの接続あたりタイプマッピングの取り替え0より多く。
public void BackupDatabase( SQLiteConnection destination, string destinationName, string sourceName, int pages, SQLiteBackupCallback callback, int retryMilliseconds );
概要
Backs up the database, using the specified database connection as the destination.
データベースの上の後ろ 宛先として、指定されたデータベース接続を使う 。
パラメーター
destination:
The destination database connection.
宛先データベース接続。
destinationName:
The destination database name.
宛先データベース名。
sourceName:
The source database name.
ソースデータベース名。
pages:
The number of pages to copy at a time -OR- a negative value to copy all pages. When a negative value is used, the callback may never be invoked.
-OR-を一度にコピーするページの数 すべてのページをコピーするネガティブな値 。ネガティブな価値が使われる時には、コールバックは決してもたらされないかもしれない。
callback:
The method to invoke between each step of the backup process. This parameter may be null (i.e. no callbacks will be performed). If the callback returns false -OR- throws an exception, the backup is canceled.
バックアップのプロセスの個々のステップの間でもたらす方法。このパラメータは無効であるかもしれない(すなわち、コールバックは全然実行されない)。もし コールバックが戻って来る -OR- 例外を投げる 間違いならば、バックアップはキャンセルされる。
retryMilliseconds:
The number of milliseconds to sleep after encountering a locking error during the backup process. A value less than zero means that no sleep should be performed.
バックアップのプロセスの間にロックエラーに遭遇した後に眠る数ミリ秒の数。価値 睡眠が全然実行されるべきではない0未満の方法 。
public SQLiteTransaction BeginTransaction();
概要
Creates a new System.Data.SQLite.SQLiteTransaction if one isn't already active on the connection.
もし接続ですでにそれがアクティブではないならば、新しいSystem.Data.SQLite.SQLiteTransactionを作成する。
戻り値
Returns the new transaction object.
リターン 新しいトランザクションオブジェクト 。
public SQLiteTransaction BeginTransaction( bool deferredLock );
概要
OBSOLETE. Creates a new SQLiteTransaction if one isn't already active on the connection.
時代遅れ。もし接続ですでにそれがアクティブではないならば、新しいSQLiteTransactionを作成する。
パラメーター
deferredLock:
When TRUE, SQLite defers obtaining a write lock until a write operation is requested. When FALSE, a writelock is obtained immediately. The default is false, but in a multi-threaded multi-writer environment, one may instead choose to lock the database immediately to avoid any possible writer deadlock.
書き込み操作が要求されるまで、SQLiteが、書き込みロックを得ることを延期する時 TRUE 。直ちにwritelockが得られる時 FALSE 。デフォルトは間違いであるけれども、代わりに、マルチスレッドのマルチ作家環境、1において、どのような可能な作家デッドロックでも避けるために直ちにデータベースをロックすることを選ぶことができる。
戻り値
Returns a SQLiteTransaction object.
リターン SQLiteTransactionオブジェクト 。
public SQLiteTransaction BeginTransaction( IsolationLevel isolationLevel );
概要
Creates a new System.Data.SQLite.SQLiteTransaction if one isn't already active on the connection.
もし接続ですでにそれがアクティブではないならば、新しいSystem.Data.SQLite.SQLiteTransactionを作成する。
パラメーター
isolationLevel:
Supported isolation levels are Serializable, ReadCommitted and Unspecified.
サポートされた隔離レベルは直列化可能、ReadCommitted、および不特定であることである。
戻り値
Returns a SQLiteTransaction object.
リターン SQLiteTransactionオブジェクト 。
コメント:
Unspecified will use the default isolation level specified in the connection string. If no isolation level is specified in the connection string, Serializable is used. Serializable transactions are the default. In this mode, the engine gets an immediate lock on the database, and no other threads may begin a transaction. Other threads may read from the database, but not write. With a ReadCommitted isolation level, locks are deferred and elevated as needed. It is possible for multiple threads to start a transaction in ReadCommitted mode, but if a thread attempts to commit a transaction while another thread has a ReadCommitted lock, it may timeout or cause a deadlock on both threads until both threads' CommandTimeout's are reached.
不特定は、接続ストリングにおいて指定されたデフォルト隔離レベルを使う。もし接続ストリングにおいて隔離レベルが全然指定されないならば、直列化可能は使われる。直列化可能トランザクションはデフォルトである。このモードにおいて、エンジンはデータベースで即時のロックを得て、どの他のスレッドもトランザクションを開始できない。他のスレッドはデータベースから読むことができるけれども、notで書きなさい。ReadCommitted隔離レベルによって、ロックは必要であるように延期されて、高い。複数のスレッドがReadCommittedモードのトランザクションを始めることが可能であるけれども、もしスレッドが、別のスレッドがReadCommittedロックを持っている間トランザクションを委任することを試みるならば、それはし タイムアウト か、または両方のスレッドのCommandTimeoutに達するまで、両方のスレッドのデッドロックを起こす。
public SQLiteTransaction BeginTransaction( IsolationLevel isolationLevel, bool deferredLock );
概要
OBSOLETE. Creates a new SQLiteTransaction if one isn't already active on the connection.
時代遅れ。もし接続ですでにそれがアクティブではないならば、新しいSQLiteTransactionを作成する。
パラメーター
isolationLevel:
This parameter is ignored.
このパラメータは無視される。
deferredLock:
When TRUE, SQLite defers obtaining a write lock until a write operation is requested. When FALSE, a writelock is obtained immediately. The default is TRUE, but in a multi-threaded multi-writer environment, one may instead choose to lock the database immediately to avoid any possible writer deadlock.
書き込み操作が要求されるまで、SQLiteが、書き込みロックを得ることを延期する時 TRUE 。直ちにwritelockが得られる時 FALSE 。デフォルトはTRUEであるけれども、代わりに、マルチスレッドのマルチ作家環境、1において、どのような可能な作家デッドロックでも避けるために直ちにデータベースをロックすることを選ぶことができる。
戻り値
Returns a SQLiteTransaction object.
リターン SQLiteTransactionオブジェクト 。
public void BindFunction( SQLiteFunctionAttribute functionAttribute, SQLiteFunction function );
概要
Attempts to bind the specified System.Data.SQLite.SQLiteFunction object instance to this connection.
パラメーター
functionAttribute:
The System.Data.SQLite.SQLiteFunctionAttribute object instance containing the metadata for the function to be bound.
function:
The System.Data.SQLite.SQLiteFunction object instance that implements the function to be bound.
public void BindFunction( SQLiteFunctionAttribute functionAttribute, Delegate callback1, Delegate callback2 );
概要
Attempts to bind the specified System.Data.SQLite.SQLiteFunction object instance to this connection.
指定されたSystem.Data.SQLite.SQLiteFunctionをバインドする試みは、この接続に反対する 例 。
パラメーター
functionAttribute:
The System.Data.SQLite.SQLiteFunctionAttribute object instance containing the metadata for the function to be bound.
機能が縛られるようにメタデータを含んでいるSystem.Data.SQLite.SQLiteFunctionAttributeオブジェクト例。
callback1:
A System.Delegate object instance that helps implement the function to be bound. For scalar functions, this corresponds to the System.Data.SQLite.SQLiteInvokeDelegate type. For aggregate functions, this corresponds to the System.Data.SQLite.SQLiteStepDelegate type. For collation functions, this corresponds to the System.Data.SQLite.SQLiteCompareDelegate type.
縛られるように機能を実装するのに役立っているSystem.Delegateオブジェクト例。スカラの機能のために、これはSystem.Data.SQLite.SQLiteInvokeDelegateタイプと一致している。総計の機能のために、これはSystem.Data.SQLite.SQLiteStepDelegateタイプと一致している。照合機能のために、これはSystem.Data.SQLite.SQLiteCompareDelegateタイプと一致している。
callback2:
A System.Delegate object instance that helps implement the function to be bound. For aggregate functions, this corresponds to the System.Data.SQLite.SQLiteFinalDelegate type. For other callback types, it is not used and must be null.
縛られるように機能を実装するのに役立っているSystem.Delegateオブジェクト例。総計の機能のために、これはSystem.Data.SQLite.SQLiteFinalDelegateタイプと一致している。他のコールバックタイプのために、それは使われず、無効にちがいない。
public void Cancel();
概要
This method causes any pending database operation to abort and return at its earliest opportunity. This routine is typically called in response to a user action such as pressing "Cancel" or Ctrl-C where the user wants a long query operation to halt immediately. It is safe to call this routine from any thread. However, it is not safe to call this routine with a database connection that is closed or might close before this method returns.
この方法は、どのような保留中のデータベース操作でも、その最も早い機会でアボートし、戻って来させる。このルーチンは、一般に切迫した「取消し」やユーザーが直ちに長い質問操作が停止してほしいCtrl-Cなどのユーザー行動に呼応して呼ばれる。どのようなスレッドからでもこのルーチンを呼ぶことが安全である。しかし、閉じられるか、またはこの方法が戻って来る前に閉まることができるデータベース接続によってこのルーチンを呼ぶことが安全ではない。
public override void ChangeDatabase( string databaseName );
概要
This method is not implemented; however, the System.Data.SQLite.SQLiteConnection.Changed event will still be raised.
この方法は実装されない;しかし、System.Data.SQLite.SQLiteConnection.Changedイベントはまだ上げられている。
パラメーター
databaseName:
public void ChangePassword( byte[] newPassword );
概要
Change the password (or assign a password) to an open database.
パスワード(または、パスワードを割り当てなさい)を、開いているデータベースに変更しなさい。
パラメーター
newPassword:
The new password to assign to the database
データベースに割り当てる新しいパスワード
コメント:
No readers or writers may be active for this process. The database must already be open and if it already was password protected, the existing password must already have been supplied.
どのリーダまたは作家もこのプロセスのためにアクティブではないかもしれない。もしすでにデータベースが開くにちがいなく、すでに、それが、保護されたパスワードであり、すでに既存のパスワードが供給されていたにちがいないならば。
public void ChangePassword( string newPassword );
概要
Change the password (or assign a password) to an open database.
パスワード(または、パスワードを割り当てなさい)を、開いているデータベースに変更しなさい。
パラメーター
newPassword:
The new password to assign to the database
データベースに割り当てる新しいパスワード
コメント:
No readers or writers may be active for this process. The database must already be open and if it already was password protected, the existing password must already have been supplied.
どのリーダまたは作家もこのプロセスのためにアクティブではないかもしれない。もしすでにデータベースが開くにちがいなく、すでに、それが、保護されたパスワードであり、すでに既存のパスワードが供給されていたにちがいないならば。
public static void ClearAllPools();
概要
Clears all connection pools. Any active connections will be discarded instead of sent to the pool when they are closed.
すべての接続プールをきれいにする。それらが閉じられる時には、どのようなアクティブな接続でも捨てられて の代わりに 、プールに送られる。
public int ClearCachedSettings();
概要
Clears the per-connection cached settings.
接続あたりキャッシュ設定をクリアする。
戻り値
The total number of per-connection settings cleared.
接続あたり設定の全体の数は澄んだ。
public static void ClearPool( SQLiteConnection connection );
概要
Clears the connection pool associated with the connection. Any other active connections using the same database file will be discarded instead of returned to the pool when they are closed.
接続と関連した接続プールをきれいにする。それらが閉じられる時には、同じデータベースファイルを使っているどのような他のアクティブな接続でも捨てられて の代わりに 、プールに返される。
パラメーター
connection:
public int ClearTypeCallbacks();
概要
Clears the per-connection type callbacks.
接続あたりタイプコールバックをクリアする。
戻り値
The total number of per-connection type callbacks cleared.
接続あたりタイプコールバックの全体の数は澄んだ。
public int ClearTypeMappings();
概要
Clears the per-connection type mappings.
接続あたりタイプマッピングをクリアする。
戻り値
The total number of per-connection type mappings cleared.
接続あたりタイプマッピングの全体の数は澄んだ。
public object Clone();
概要
Creates a clone of the connection. All attached databases and user-defined functions are cloned. If the existing connection is open, the cloned connection will also be opened.
接続のクローンを作成する。すべてはデータベースを付属させて、ユーザ定義の機能はクローン技術で生み出される。もし既存の接続が開いているならば、クローン技術で生み出された接続はまた開かれる。
public override void Close();
概要
When the database connection is closed, all commands linked to this connection are automatically reset.
データベース接続が閉じられる時には、この接続と結び付けられたすべてのコマンドが自動的にリセットされる。
public ISQLiteChangeGroup CreateChangeGroup();
概要
Attempts to create a new System.Data.SQLite.ISQLiteChangeGroup object instance using this connection.
新しいSystem.Data.SQLite.ISQLiteChangeGroupを作成する試みは、この接続を使って反対する 例 。
戻り値
The newly created change group -OR- null if it cannot be created.
もしそれの不作成、新しく作成された変化グループ-OR-零。
public ISQLiteChangeSet CreateChangeSet( byte[] rawData );
概要
Attempts to create a new System.Data.SQLite.ISQLiteChangeSet object instance using this connection and the specified raw data.
新しいSystem.Data.SQLite.ISQLiteChangeSetを作成する試みは、この接続および指定された生データを使って反対する 例 。
パラメーター
rawData:
The raw data that contains a change set (or patch set).
変化セットを含んでいる生データ(または、パッチは設定した)。
戻り値
The newly created change set -OR- null if it cannot be created.
もしそれが作成できないならば、新しく作成された変化は-OR-を無効にした。
public ISQLiteChangeSet CreateChangeSet( byte[] rawData, SQLiteChangeSetStartFlags flags );
概要
Attempts to create a new System.Data.SQLite.ISQLiteChangeSet object instance using this connection and the specified raw data.
新しいSystem.Data.SQLite.ISQLiteChangeSetを作成する試みは、この接続および指定された生データを使って反対する 例 。
パラメーター
rawData:
The raw data that contains a change set (or patch set).
変化セットを含んでいる生データ(または、パッチは設定した)。
flags:
The flags used to create the change set iterator.
フラグは変化設定イテレータを作成したものであった。
戻り値
The newly created change set -OR- null if it cannot be created.
もしそれが作成できないならば、新しく作成された変化は-OR-を無効にした。
public ISQLiteChangeSet CreateChangeSet( Stream inputStream, Stream outputStream );
概要
Attempts to create a new System.Data.SQLite.ISQLiteChangeSet object instance using this connection and the specified stream.
新しいSystem.Data.SQLite.ISQLiteChangeSetを作成する試みは、この接続および指定されたストリームを使って反対する 例 。
パラメーター
inputStream:
The stream where the raw data that contains a change set (or patch set) may be read.
変化セット(または、パッチは設定した)を含んでいる生データが読まれうるストリーム。
outputStream:
The stream where the raw data that contains a change set (or patch set) may be written.
変化セット(または、パッチは設定した)を含んでいる生データが書かれうるストリーム。
戻り値
The newly created change set -OR- null if it cannot be created.
もしそれが作成できないならば、新しく作成された変化は-OR-を無効にした。
public ISQLiteChangeSet CreateChangeSet( Stream inputStream, Stream outputStream, SQLiteChangeSetStartFlags flags );
概要
Attempts to create a new System.Data.SQLite.ISQLiteChangeSet object instance using this connection and the specified stream.
新しいSystem.Data.SQLite.ISQLiteChangeSetを作成する試みは、この接続および指定されたストリームを使って反対する 例 。
パラメーター
inputStream:
The stream where the raw data that contains a change set (or patch set) may be read.
変化セット(または、パッチは設定した)を含んでいる生データが読まれうるストリーム。
outputStream:
The stream where the raw data that contains a change set (or patch set) may be written.
変化セット(または、パッチは設定した)を含んでいる生データが書かれうるストリーム。
flags:
The flags used to create the change set iterator.
フラグは変化設定イテレータを作成したものであった。
戻り値
The newly created change set -OR- null if it cannot be created.
もしそれが作成できないならば、新しく作成された変化は-OR-を無効にした。
public SQLiteCommand CreateCommand();
概要
Create a new System.Data.SQLite.SQLiteCommand and associate it with this connection.
新しいSystem.Data.SQLite.SQLiteCommandを作成し、それをこの接続と結び付けなさい。
戻り値
Returns a new command object already assigned to this connection.
すでに新しいコマンドオブジェクトがこの接続に割り当てていたリターン。
public static void CreateFile( string databaseFileName );
概要
Creates a database file. This just creates a zero-byte file which SQLite will turn into a database when the file is opened properly.
データベースファイルを作成する。これは、ただ、ファイルが適切に開かれる時にSQLiteがデータベースに変える0バイトファイルを作成する。
パラメーター
databaseFileName:
The file to create
作成するファイル
public static object CreateHandle( IntPtr nativeHandle );
概要
Creates and returns a new managed database connection handle. This method is intended to be used by implementations of the System.Data.SQLite.ISQLiteConnectionPool interface only. In theory, it could be used by other classes; however, that usage is not supported.
新しい管理されたデータベース接続ハンドルを作成し、戻す。この方法は、System.Data.SQLite.ISQLiteConnectionPoolインタフェースだけのインプリメンテーションにより使われることを意図している。理論において、それは他のクラスにより使われえた;しかし、その用法はサポートされない。
パラメーター
nativeHandle:
This must be a native database connection handle returned by the SQLite core library and it must remain valid and open during the entire duration of the calling method.
これは、SQLite中心的ライブラリにより戻されたネイティブのデータベース接続ハンドルであるにちがいなく、それは有効であり続けて、呼び出し方法の全体の期間の間に開くにちがいない。
戻り値
The new managed database connection handle or null if it cannot be created.
もしそれの不作成新しい管理されたデータベース接続ハンドルまたは零。
public void CreateModule( SQLiteModule module );
概要
Creates a disposable module containing the implementation of a virtual table.
バーチャルなテーブルのインプリメンテーションを含んでいる使い捨てのモジュールを作成する。
パラメーター
module:
The module object to be used when creating the disposable module.
使い捨てのモジュールを作成する時に使われるモジュールオブジェクト。
public ISQLiteSession CreateSession( string databaseName );
概要
Attempts to create a new System.Data.SQLite.ISQLiteSession object instance using this connection and the specified database name.
新しいSystem.Data.SQLite.ISQLiteSessionを作成する試みは、この接続および指定されたデータベース名を使って反対する 例 。
パラメーター
databaseName:
The name of the database for the newly created session.
新しく作成されたセッションのためのデータベースの名前。
戻り値
The newly created session -OR- null if it cannot be created.
もしそれの不作成、新しく作成されたセッション-OR-零。
protected override DbTransaction BeginDbTransaction( IsolationLevel isolationLevel );
概要
Forwards to the local System.Data.SQLite.SQLiteConnection.BeginTransaction(System.Data.IsolationLevel) function
ローカルなSystem.Data.SQLite.SQLiteConnection.BeginTransaction(System.Data.IsolationLevel)機能への前
パラメーター
isolationLevel:
Supported isolation levels are Unspecified, Serializable, and ReadCommitted
サポートされた隔離レベルが不特定であること直列化可能、およびReadCommitted
protected override DbCommand CreateDbCommand();
概要
Forwards to the local System.Data.SQLite.SQLiteConnection.CreateCommand function.
ローカルなSystem.Data.SQLite.SQLiteConnection.CreateCommand機能への前。
public void Dispose();
概要
Disposes and finalizes the connection, if applicable.
もし適用可能ならば、接続を置き、完了する。
protected override void Dispose( bool disposing );
概要
Cleans up resources (native and managed) associated with the current instance.
現在の例と関連したリソース(ネイティブと管理した)を洗浄する。
パラメーター
disposing:
Zero when being disposed via garbage collection; otherwise, non-zero.
ガベージコレクションを経て置かれる時の0;さもなければ不 0。
public void EnableExtensions( bool enable );
概要
Enables or disables extension loading.
拡張ロードを可能にするか、または使用不可にする。
パラメーター
enable:
True to enable loading of extensions, false to disable.
使用不可にするために間違いに拡張のロードを可能にする真。
public override void EnlistTransaction( System.Transactions.Transaction transaction );
概要
Manual distributed transaction enlistment support
マニュアルはトランザクション兵籍編入サポートを配布した
パラメーター
transaction:
The distributed transaction to enlist in
入隊するべき配布されたトランザクション
public SQLiteErrorCode ExtendedResultCode();
public static void GetMemoryStatistics( ref IDictionary statistics );
概要
Returns various global memory statistics for the SQLite core library via a dictionary of key/value pairs. Currently, only the "MemoryUsed" and "MemoryHighwater" keys are returned and they have values that correspond to the values that could be obtained via the System.Data.SQLite.SQLiteConnection.MemoryUsed and System.Data.SQLite.SQLiteConnection.MemoryHighwater connection properties.
キー入力/価値の辞書を経たSQLite中心的ライブラリのためのリターン様々なグローバルメモリー統計はペアになる。現在、「MemoryUsedする」と「MemoryHighwater」キーだけが戻されて、それらは、System.Data.SQLite.SQLiteConnection.MemoryUsedとSystem.Data.SQLite.SQLiteConnection.MemoryHighwater接続プロパティを経て得られえた値と一致している値を持っている。
パラメーター
statistics:
This dictionary will be populated with the global memory statistics. It will be created if necessary.
この辞書にはグローバルなメモリー統計によって住む。それは必要なら作成される。
public override DataTable GetSchema( string collectionName );
概要
Returns schema information of the specified collection
指定されたコレクションのリターンスキーマ情報
パラメーター
collectionName:
The schema collection to retrieve
回復へのスキーマコレクション
戻り値
A DataTable of the specified collection
指定されたコレクションのDataTable
public override DataTable GetSchema( string collectionName, string[] restrictionValues );
概要
Retrieves schema information using the specified constraint(s) for the specified collection
指定されたコレクションのための指定された強制(s)を使ってスキーマ情報を検索する
パラメーター
collectionName:
The collection to retrieve.
回復へのコレクション。
restrictionValues:
The restrictions to impose. Typically, this may include: restrictionValues element index usage 0 The database (or catalog) name, if applicable. 1 The schema name. This is not used by this provider. 2 The table name, if applicable. 3 Depends on collectionName. When "IndexColumns", it is the index name; otherwise, it is the column name. 4 Depends on collectionName. When "IndexColumns", it is the column name; otherwise, it is not used.
課す制限。一般に、これは含むかもしれない:もし適用可能restrictionValues要素インデックス用法0データベース(またはカタログ)名。1  スキーマ名。これはこのプロバイダーにより使われない。2  もし適用可能テーブル名。3   collectionNameに依存する。それがインデックス名である時 「IndexColumns」 ;さもなければ、それはカラム名である。4   collectionNameに依存する。それがカラム名である時 「IndexColumns」 ;さもなければ、それは使われない。
戻り値
A DataTable of the specified collection
指定されたコレクションのDataTable
public override DataTable GetSchema();
概要
Returns the MetaDataCollections schema
リターンMetaDataCollectionsスキーマ
戻り値
A DataTable of the MetaDataCollections schema
MetaDataCollectionsスキーマのDataTable
public Dictionary GetTypeMappings();
概要
Returns the per-connection type mappings.
リターン 接続あたりタイプマッピング 。
戻り値
The per-connection type mappings -OR- null if they are unavailable.
もしそれらの利用できなさ接続あたりタイプマッピング-OR-零。
public bool IsReadOnly( string name );
概要
Checks if this connection to the specified database should be considered read-only. An exception will be thrown if the database name specified via name cannot be found.
もしリードオンリーの指定されたデータベースとのこの接続の考えチェック。もし名前を経て指定されたデータベース名が見つけられえないならば、例外は投げられる。
パラメーター
name:
The name of a database associated with this connection -OR- null for the main database.
データベースの名前はこの接続-OR-と結合した 主要なデータベースのための零 。
戻り値
Non-zero if this connection to the specified database should be considered read-only.
もしリードオンリーの指定されたデータベースとのこの接続の考え不 0。
public void LoadExtension( string fileName );
概要
Loads a SQLite extension library from the named dynamic link library file.
ロード 名付けられたダイナミックリンクライブラリファイルからのSQLite拡張ライブラリ 。
パラメーター
fileName:
The name of the dynamic link library file containing the extension.
拡張を含んでいるダイナミックリンクライブラリファイルの名前。
public void LoadExtension( string fileName, string procName );
概要
Loads a SQLite extension library from the named dynamic link library file.
ロード 名付けられたダイナミックリンクライブラリファイルからのSQLite拡張ライブラリ 。
パラメーター
fileName:
The name of the dynamic link library file containing the extension.
拡張を含んでいるダイナミックリンクライブラリファイルの名前。
procName:
The name of the exported function used to initialize the extension. If null, the default "sqlite3_extension_init" will be used.
輸出された機能の名前は拡張を初期設定したものであった。もし無効ならば、デフォルト「sqlite3_extension_init」は使われる。
public void LogMessage( int iErrCode, string zMessage );
public void LogMessage( SQLiteErrorCode iErrCode, string zMessage );
public override void Open();
概要
Opens the connection using the parameters found in the System.Data.SQLite.SQLiteConnection.ConnectionString.
System.Data.SQLite.SQLiteConnection.ConnectionStringに発見されたパラメータを使って接続を開く。
public SQLiteConnection OpenAndReturn();
概要
Opens the connection using the parameters found in the System.Data.SQLite.SQLiteConnection.ConnectionString and then returns it.
System.Data.SQLite.SQLiteConnection.ConnectionStringに発見されたパラメータを使って接続を開き、それから、それを戻す。
戻り値
The current connection object.
現在の接続オブジェクト。
public static SQLiteErrorCode ReleaseMemory( int nBytes, bool reset, bool compact, ref int nFree, ref bool resetOk, ref uint nLargest );
概要
Attempts to free N bytes of heap memory by deallocating non-essential memory allocations held by the database library. Memory used to cache database pages to improve performance is an example of non-essential memory. This is a no-op returning zero if the SQLite core library was not compiled with the compile-time option SQLITE_ENABLE_MEMORY_MANAGEMENT. Optionally, attempts to reset and/or compact the Win32 native heap, if applicable.
データベースライブラリによって保持されたdeallocatingすることによってNバイトの積み重ねメモリーを解放する試み非必須のメモリー割り当て。改善するようにデータベースページをキャッシュするために用いられたメモリー性能は、非必須のメモリーの例である。もしSQLite中心的ライブラリが編集時間オプションSQLITE_ENABLE_MEMORY_MANAGEMENTで編集されなかったならば、これは操作できないリターン0である。オプションで、リセットし、および/または、もし適用可能ならばWin32ネイティブ積み重ねを圧縮する試み。
パラメーター
nBytes:
The requested number of bytes to free.
解放するバイトの、要求された数。
reset:
Non-zero to attempt a heap reset.
積み重ねリセットを試みる不 0。
compact:
Non-zero to attempt heap compaction.
積み重ね短縮を試みる不 0。
nFree:
The number of bytes actually freed. This value may be zero.
実際解放されたバイトの数。この価値は0であるかもしれない。
resetOk:
This value will be non-zero if the heap reset was successful.
もし積み重ねリセットが成功していたならば、この価値は不 0である。
nLargest:
The size of the largest committed free block in the heap, in bytes. This value will be zero unless heap compaction is enabled.
バイトの積み重ねの最も大きい委任されたフリーブロックのサイズ。積み重ね短縮が可能でない限り、この価値は0である。
戻り値
A standard SQLite return code (i.e. zero for success and non-zero for failure).
標準のSQLiteリターンコード(すなわち、成功のための0および失敗のための不 0 )。
public void ReleaseMemory();
概要
Attempts to free as much heap memory as possible for this database connection.
このデータベース接続へのできる限り多い積み重ねメモリーを解放する試み。
public SQLiteErrorCode ResultCode();
public SQLiteErrorCode SetAvRetry( ref int count, ref int interval );
概要
Queries or modifies the number of retries or the retry interval (in milliseconds) for certain I/O operations that may fail due to anti-virus software.
質問またはリトライの数、またはアンチウィルスソフトウェアのため失敗するかもしれない一定のI/O操作のためのリトライ間隔(ミリ秒の)を修正する。
パラメーター
count:
The number of times to retry the I/O operation. A negative value will cause the current count to be queried and replace that negative value.
I/O操作をリトライする時の数。ネガティブな価値は、現在の計算に、問われて、そのネガティブな価値を取り替えさせる。
interval:
The number of milliseconds to wait before retrying the I/O operation. This number is multiplied by the number of retry attempts so far to come up with the final number of milliseconds to wait. A negative value will cause the current interval to be queried and replace that negative value.
I/O操作をリトライする前に待つ数ミリ秒の数。この数は、待つために数ミリ秒の最終的な数を考え出すために、リトライ試みの数のためこれまでに増加する。ネガティブな価値は、現在の間隔に、問われて、そのネガティブな価値を取り替えさせる。
戻り値
Zero for success, non-zero for error.
成功のための0、エラーのための不 0。
public SQLiteErrorCode SetChunkSize( int size );
概要
Sets the chunk size for the primary file associated with this database connection.
主要なファイルのためのかなりの量サイズがこのデータベース接続と結び付けたセット。
パラメーター
size:
The new chunk size for the main database, in bytes.
バイトの主要なデータベースのための新しいかなりの量サイズ。
戻り値
Zero for success, non-zero for error.
成功のための0、エラーのための不 0。
public void SetConfigurationOption( SQLiteConfigDbOpsEnum option, object value );
概要
Change a configuration option value for the database.
コンフィギュレーションオプション価値をデータベースに両替しなさい。
パラメーター
option:
The database configuration option to change.
変わるデータベースコンフィギュレーションオプション。
value:
The new value for the specified configuration option.
指定されたコンフィギュレーションオプションのための新しい値。
public void SetExtendedResultCodes( bool bOnOff );
public int SetLimitOption( SQLiteLimitOpsEnum option, int value );
概要
Change a limit value for the database.
限界価値をデータベースに両替しなさい。
パラメーター
option:
The database limit to change.
変わるデータベース限界。
value:
The new value for the specified limit.
指定された限界のための新しい値。
戻り値
The old value for the specified limit -OR- negative one if an error occurs.
指定された限界-OR-のための古い値 もしエラーの起こり否定的もの 。
public static SQLiteErrorCode SetMemoryStatus( bool value );
概要
Sets the status of the memory usage tracking subsystem in the SQLite core library. By default, this is enabled. If this is disabled, memory usage tracking will not be performed. This is not really a per-connection value, it is global to the process.
SQLite中心的ライブラリのメモリ使用量追跡サブシステムのセットステータス。デフォルトで、これは可能である。もしこれが使用不可にされるならば、メモリ使用量追跡は実行されない。これは本当は接続あたり価値ではなく、それはプロセスのためにグローバルである。
パラメーター
value:
Non-zero to enable memory usage tracking, zero otherwise.
メモリ使用量追跡、0を違った形で可能にする不 0。
戻り値
A standard SQLite return code (i.e. zero for success and non-zero for failure).
標準のSQLiteリターンコード(すなわち、成功のための0および失敗のための不 0 )。
public void SetPassword( byte[] databasePassword );
概要
Sets the password for a password-protected database. A password-protected database is unusable for any operation until the password has been set.
パスワード保護されたデータベースのためのセットパスワード。パスワード保護されたデータベースは、パスワードが設定されるまで、どのような操作のためにでも使用できない。
パラメーター
databasePassword:
The password for the database
データベースのためのパスワード
public void SetPassword( string databasePassword );
概要
Sets the password for a password-protected database. A password-protected database is unusable for any operation until the password has been set.
パスワード保護されたデータベースのためのセットパスワード。パスワード保護されたデータベースは、パスワードが設定されるまで、どのような操作のためにでも使用できない。
パラメーター
databasePassword:
The password for the database
データベースのためのパスワード
public bool SetTypeCallbacks( string typeName, SQLiteTypeCallbacks callbacks );
概要
Sets, resets, or clears the per-connection type callbacks for the specified database type name.
セットはリセットするか、または指定されたデータベースタイプ名のための接続あたりタイプコールバックをクリアする。
パラメーター
typeName:
The database type name.
データベースタイプ名。
callbacks:
The object holding the callbacks for the database type name. If this parameter is null, any callbacks for the database type name will be removed if they are present.
データベースタイプ名のためのコールバックを保持しているオブジェクト。もしこのパラメータが無効ならば、もしそれらが出席するならば、データベースタイプ名のためのどのようなコールバックでも取り除かれる。
戻り値
Non-zero if callbacks were set or removed; otherwise, zero.
もしコールバックが設定されたことまたはそれによる除去不 0;さもなければ0。
public static void Shutdown( bool directories, bool noThrow );
概要
Passes a shutdown request to the SQLite core library. Throws an exception if the shutdown request fails and the no-throw parameter is non-zero.
パス SQLite中心的ライブラリへのシャットダウン要求 。投げ込み もしシャットダウン要求が失敗することと不 0の無投げ込みパラメータのis例外 。
パラメーター
directories:
Non-zero to reset the database and temporary directories to their default values, which should be null for both.
データベースおよび一時的なディレクトリを両方のために無効であるはずのそれらのデフォルト値にリセットする不 0。
noThrow:
When non-zero, throw an exception if the shutdown request fails.
もしシャットダウン要求が失敗するならば例外を投げる時 不 0 。
public SQLiteErrorCode Shutdown();
概要
Passes a shutdown request to the SQLite core library. Does not throw an exception if the shutdown request fails.
パス SQLite中心的ライブラリへのシャットダウン要求 。もしシャットダウン要求が失敗するならば、例外を投げてはならない。
戻り値
A standard SQLite return code (i.e. zero for success and non-zero for failure).
標準のSQLiteリターンコード(すなわち、成功のための0および失敗のための不 0 )。
public bool TryGetTypeCallbacks( string typeName, out SQLiteTypeCallbacks callbacks );
概要
Attempts to get the per-connection type callbacks for the specified database type name.
指定されたデータベースのために接続あたりタイプコールバックを取ってくる試みにより名前はタイプされる。
パラメーター
typeName:
The database type name.
データベースタイプ名。
callbacks:
Upon success, this parameter will contain the object holding the callbacks for the database type name. Upon failure, this parameter will be null.
成功には、このパラメータは、データベースタイプ名のためのコールバックを保持しているオブジェクトを含む。失敗では、このパラメータは無効である。
戻り値
Non-zero upon success; otherwise, zero.
成功における不 0;さもなければ0。
public bool UnbindAllFunctions( bool registered );
概要
This method unbinds all registered (known) functions -OR- all previously bound user-defined functions from this connection.
この方法は、この接続から、すべての登録された(既知の)機能-OR-すべての以前にバインドされたユーザ定義の機能を解く。
パラメーター
registered:
Non-zero to unbind all registered (known) functions -OR- zero to unbind all functions currently bound to the connection.
解くために、すべての登録された(既知の)機能-OR-0を解く不 0すべての機能は、現在接続にバインドした。
戻り値
Non-zero if all the specified user-defined functions were unbound.
もしすべての指定されたユーザ定義の機能の解放不 0。
public bool UnbindFunction( SQLiteFunctionAttribute functionAttribute );
概要
Attempts to unbind the specified System.Data.SQLite.SQLiteFunction object instance to this connection.
指定されたSystem.Data.SQLite.SQLiteFunctionを解く試みは、この接続に反対する 例 。
パラメーター
functionAttribute:
The System.Data.SQLite.SQLiteFunctionAttribute object instance containing the metadata for the function to be unbound.
機能が解かれるメタデータを含んでいるSystem.Data.SQLite.SQLiteFunctionAttributeオブジェクト例。
戻り値
Non-zero if the function was unbound.
もし機能の解放不 0。
public bool WaitForEnlistmentReset( int timeoutMilliseconds, bool? returnOnDisposed );
概要
EXPERIMENTAL -- Waits for the enlistment associated with this connection to be reset. This method always throws System.NotImplementedException when running on the .NET Compact Framework.
実験的--この接続と関連した兵籍編入がリセットされることを待つ。この方法は、.NETにおいてコンパクト枠組を実行する時に、いつもSystem.NotImplementedExceptionを投げる。
パラメーター
timeoutMilliseconds:
The approximate maximum number of milliseconds to wait before timing out the wait operation.
待機操作の外でタイミングの前に待つ数ミリ秒のおおよその最大の数。
returnOnDisposed:
The return value to use if the connection has been disposed; if this value is null, System.ObjectDisposedException will be raised if the connection has been disposed.
使用への帰りの値 接続が置かれた ;もしこの値が無効ならば、もし接続が置かれたならば、System.ObjectDisposedExceptionは上げられる。
戻り値
Non-zero if the enlistment assciated with this connection was reset; otherwise, zero. It should be noted that this method returning a non-zero value does not necessarily guarantee that the connection can enlist in a new transaction (i.e. due to potentical race with other threads); therefore, callers should generally use try/catch when calling the System.Data.SQLite.SQLiteConnection.EnlistTransaction(System.Transactions.Transaction) method.
もしこの接続によってassciatedされた兵籍編入のリセット不 0;さもなければ0。必ずしも、不 0の値を戻すこの方法が接続が新しいトランザクションに入隊できると保証していないことは言及されるべきである(すなわち他のスレッドを持つpotenticalなレースのため);従って、呼びだし人は、一般に、System.Data.SQLite.SQLiteConnection.EnlistTransaction(System.Transactions.Transaction)方法を呼ぶ時に、試み/キャッチを使うべきである。