SPGlobalConfig.FullTextSearchEnabled 属性

请注意:此 API 现在已过时。

获取或设置一个布尔值,指定是否在SharePoint Foundation部署中启用全文搜索。

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<ObsoleteAttribute("FullTextSearchEnabled is no longer supported; Use the Status property of the WSS Search Service (SPSearchService) object instead.",  _
    False)> _
Public Property FullTextSearchEnabled As Boolean
    Get
    Set
用法
Dim instance As SPGlobalConfig
Dim value As Boolean

value = instance.FullTextSearchEnabled

instance.FullTextSearchEnabled = value
[ObsoleteAttribute("FullTextSearchEnabled is no longer supported; Use the Status property of the WSS Search Service (SPSearchService) object instead.", 
    false)]
public bool FullTextSearchEnabled { get; set; }

属性值

类型:System.Boolean
true如果启用了全文搜索 ;否则为false。

另请参阅

引用

SPGlobalConfig 类

SPGlobalConfig 成员

Microsoft.SharePoint.Administration 命名空间