UserPreference.IsCustomSettingEnabled 方法
确定是否启用搜索用户首选项的自定义设置。
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Function IsCustomSettingEnabled ( _
settingFlag As ULong _
) As Boolean
用法
Dim instance As UserPreference
Dim settingFlag As ULong
Dim returnValue As Boolean
returnValue = instance.IsCustomSettingEnabled(settingFlag)
public bool IsCustomSettingEnabled(
ulong settingFlag
)
参数
settingFlag
类型:System.UInt64一个位掩码,指示自定义设置。
返回值
类型:System.Boolean
true如果启用了自定义的设置 ;否则为false。
备注
此方法执行的值settingFlag参数和自定义设置的搜索用户首选项的值的按位 OR 运算。