SqlCacheDependencySection クラス
System.Web.Caching.SqlCacheDependency 構成セクションを表します。
class SqlCacheDependencySection : ConfigurationSectionWithCollection
次の表に、SqlCacheDependencySection
クラスによって公開されるメソッドの一覧を示します。
名前 | 説明 |
---|---|
[追加] | (ConfigurationSectionWithCollection から継承。) |
Clear | (ConfigurationSectionWithCollection から継承。) |
Get | (ConfigurationSectionWithCollection から継承。) |
GetAllowDefinition | (ConfigurationSection から継承。) |
GetAllowLocation | (ConfigurationSection から継承。) |
削除 | (ConfigurationSectionWithCollection から継承。) |
RevertToParent | (ConfigurationSection から継承。) |
SetAllowDefinition | (ConfigurationSection から継承。) |
SetAllowLocation | (ConfigurationSection から継承。) |
次の表は、SqlCacheDependencySection
クラスによって公開されるプロパティの一覧です。
名前 | 説明 |
---|---|
Databases |
ASP.NET キャッシュ内のキャッシュされた SQL データの構成設定を含む SqlCacheDependencyDatabaseSettings 値。 |
Enabled |
boolean 値。 キャッシュされた SQL データに対する変更の通知を IIS が受信できる場合は true 、それ以外の場合は false です。 既定値は、true です。 |
Location |
(ConfigurationSection から継承。)キー プロパティ。 |
Path |
(ConfigurationSection から継承。)キー プロパティ。 |
PollTime |
キャッシュされたデータに対する変更について SQL データベースを照会する頻度をミリ秒単位で表す sint32 値。 既定値は 60000 です。 このプロパティを 500 未満に設定することはできません。 |
SectionInformation |
(ConfigurationSection から継承。) |
このクラスにはサブクラスが含まれていません。
このクラスを使用すると、ASP.NET アプリケーション System.Web.Caching.Cache オブジェクトに格納されているデータを、SQL Server データ ソース (テーブルまたはクエリ) に変更を加えたときに更新できます。 データベース テーブルまたはクエリが変更されると、キャッシュされた項目が自動的に削除され、新しいバージョンの項目が ASP.NET キャッシュに追加されます。
ConfigurationSectionWithCollection
SqlCacheDependencySection
型 | 説明 |
---|---|
クライアント | - Windows Vista 上の IIS 7.0 - Windows 7 上の IIS 7.5 - Windows 8 上の IIS 8.0 - Windows 10 上の IIS 10.0 |
[サーバー] | - Windows Server 2008 上の IIS 7.0 - Windows Server 2008 R2 上の IIS 7.5 - Windows Server 2012 上の IIS 8.0 - Windows Server 2012 R2 上の IIS 8.5 - Windows Server 2016 上の IIS 10.0 |
Product | - IIS 7.0、IIS 7.5、IIS 8.0、IIS 8.5、IIS 10.0 |
MOF ファイル | WebAdministration.mof |
System.Web.Caching.SqlCacheDependencySystem.Web.Caching.CacheConfigurationSectionWithCollection クラス
SqlCacheDependencyDatabase クラス
SqlCacheDependencyDatabaseSettings クラス