SqlCacheDependency::CreateOutputCacheDependency Method (String^)
.NET Framework (current version)
Creates a dependency relationship between an item that is stored in an ASP.NET application's OutputCache object and a SQL Server database table.
Assembly: System.Web (in System.Web.dll)
Parameters
- dependency
-
Type:
System::String^
The output-cache dependency directive.
The following markup shows a typical output-cache dependency directive.
<%@ OutputCache Duration="3600" SqlDependency="Northwind:Employees" VaryByParam="none" %>
.NET Framework
Available since 4.0
Available since 4.0
Show: