ContentSourceCollection.Exists 方法 (Int32)
返回一个布尔值,该值指示集合中是否存在指定的内容源。
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Function Exists ( _
id As Integer _
) As Boolean
用法
Dim instance As ContentSourceCollection
Dim id As Integer
Dim returnValue As Boolean
returnValue = instance.Exists(id)
public bool Exists(
int id
)
参数
id
类型:System.Int3232 位整数,它指定的内容源标识符。
返回值
类型:System.Boolean
true如果内容源的存在 ;否则为false。