SqlCacheDependencyAdmin.GetTablesEnabledForNotifications メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > SqlCacheDependencyAdmin.GetTablesEnabledForNotifications メソッドの意味・解説 

SqlCacheDependencyAdmin.GetTablesEnabledForNotifications メソッド

メモ : このメソッドは、.NET Framework version 2.0新しく追加されたものです。

変更通知有効になっている、SQL Server データベース内のテーブルの名前を含む文字列配列取得します

名前空間: System.Web.Caching
アセンブリ: System.Web (system.web.dll 内)
構文構文

Public Shared Function GetTablesEnabledForNotifications
 ( _
    connectionString As String _
) As String()
Dim connectionString As String
Dim returnValue As String()

returnValue = SqlCacheDependencyAdmin.GetTablesEnabledForNotifications(connectionString)
public static string[] GetTablesEnabledForNotifications
 (
    string connectionString
)
public:
static array<String^>^ GetTablesEnabledForNotifications
 (
    String^ connectionString
)
public static String[] GetTablesEnabledForNotifications
 (
    String connectionString
)
public static function GetTablesEnabledForNotifications
 (
    connectionString : String
) : String[]

パラメータ

connectionString

SQL Server データベース接続するときに使用する接続文字列

戻り値
SQL Server データベース テーブルの名前を含む文字列配列

例外例外
解説解説

GetTablesEnabledForNotifications メソッドは、connectionString パラメータ指定されているデータベース内にある、変更通知有効になっているすべてのテーブルの名前を含む文字列配列返します

使用例使用例

接続文字列 MyConnectionString指定されているデータベース内にある、変更通知有効になっているテーブル文字列配列作成するコード例次に示します

例の実行必要なコード全体については、SqlCacheDependencyAdmin クラス概要トピックで「例」を参照してください

Dim enabledTablesList As String()
enabledTablesList = SqlCacheDependencyAdmin.GetTablesEnabledForNotifications( _
  ConfigurationManager.ConnectionStrings("MyConnectionString").ConnectionString)
string[] enabledTablesList =
SqlCacheDependencyAdmin.GetTablesEnabledForNotifications(
  ConfigurationManager.ConnectionStrings["MyConnectionString"].ConnectionString);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SqlCacheDependencyAdmin クラス
SqlCacheDependencyAdmin メンバ
System.Web.Caching 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からSqlCacheDependencyAdmin.GetTablesEnabledForNotifications メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からSqlCacheDependencyAdmin.GetTablesEnabledForNotifications メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からSqlCacheDependencyAdmin.GetTablesEnabledForNotifications メソッド を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「SqlCacheDependencyAdmin.GetTablesEnabledForNotifications メソッド」の関連用語

SqlCacheDependencyAdmin.GetTablesEnabledForNotifications メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



SqlCacheDependencyAdmin.GetTablesEnabledForNotifications メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS