ScriptCache.ContainsCacheIdentifier 方法
返回一个值,该值指示给定缓存标识符表示的项是否在脚本缓存中。
命名空间: Microsoft.Data.Schema.SchemaModel
程序集: Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)
语法
声明
Public MustOverride Function ContainsCacheIdentifier ( _
cacheIdentifier As String _
) As Boolean
public abstract bool ContainsCacheIdentifier(
string cacheIdentifier
)
public:
virtual bool ContainsCacheIdentifier(
String^ cacheIdentifier
) abstract
abstract ContainsCacheIdentifier :
cacheIdentifier:string -> bool
public abstract function ContainsCacheIdentifier(
cacheIdentifier : String
) : boolean
参数
- cacheIdentifier
类型:System.String
要查找的缓存标识符。
返回值
类型:System.Boolean
如果标识符位于缓存中,则为 true;否则为 false。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。