SearchContext.QueryLoggingEnabled 属性
请注意:此 API 现在已过时。
获取一个布尔值,该值指示是否启用查询日志记录。
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
<ObsoleteAttribute("This class is obsolete now. Please use SearchServiceApplication and SearchServiceApplicationProxy instead.")> _
Public ReadOnly Property QueryLoggingEnabled As Boolean
Get
用法
Dim instance As SearchContext
Dim value As Boolean
value = instance.QueryLoggingEnabled
[ObsoleteAttribute("This class is obsolete now. Please use SearchServiceApplication and SearchServiceApplicationProxy instead.")]
public bool QueryLoggingEnabled { get; }
属性值
类型:System.Boolean
true如果启用了查询记录 ;否则为false。