SPSite.SearchServiceInstance 属性

Gets an SPServiceInstance object that represents an instance of the SharePoint Search service that is associated with the site collection.

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

语法

声明
Public ReadOnly Property SearchServiceInstance As SPServiceInstance
    Get
用法
Dim instance As SPSite
Dim value As SPServiceInstance

value = instance.SearchServiceInstance
public SPServiceInstance SearchServiceInstance { get; }

属性值

类型:Microsoft.SharePoint.Administration.SPServiceInstance
An SPServiceInstance object that represents the SharePoint Search service instance.

另请参阅

引用

SPSite 类

SPSite 成员

Microsoft.SharePoint 命名空间