ContentSourceCollection.Exists 方法 (Int32) (Microsoft.Office.Server.Search.Administration)

Returns a Boolean value that indicates whether the specified content source exists in the collection.

命名空间: 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
    A 32-bit integer that specifies the content source ID.

返回值

true if the content source exists; otherwise, false.

另请参阅

参考

ContentSourceCollection 类
ContentSourceCollection 成员
Microsoft.Office.Server.Search.Administration 命名空间