SqlCacheDependency::GetUniqueID Method
Retrieves a unique identifier for a SqlCacheDependency object.
Assembly: System.Web (in System.Web.dll)
Return Value
Type: System::StringThe unique identifier for the SqlCacheDependency object, or nullptr if no identifier can be generated.
The SqlCacheDependency method returns an identifier used to uniquely track SqlCacheDependency objects associated with an item or application. The unique identifier generated when using table-based notifications is partially dependent on the change identifier generated by the database.
When using SQL Server 2005-based query notifications, the unique identifier is nullptr because SQL Server 2005 does not support returning unique identifiers for individual query notifications.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.