ISecurityTrimmer.CheckAccess 方法 (Microsoft.Office.Server.Search.Query)

Used to perform custom security trimming of Microsoft Office SharePoint Server 2007 企业级搜索 results.

命名空间: Microsoft.Office.Server.Search.Query
程序集: Microsoft.Office.Server.Search (在 microsoft.office.server.search.dll 中)

语法

声明
Function CheckAccess ( _
    documentCrawlUrls As IList(Of String), _
    sessionProperties As IDictionary(Of String, Object) _
) As BitArray
用法
Dim instance As ISecurityTrimmer
Dim documentCrawlUrls As IList(Of String)
Dim sessionProperties As IDictionary(Of String, Object)
Dim returnValue As BitArray

returnValue = instance.CheckAccess(documentCrawlUrls, sessionProperties)
BitArray CheckAccess (
    IList<string> documentCrawlUrls,
    IDictionary<string,Object> sessionProperties
)

参数

  • documentCrawlUrls
    The collection of search results URL strings.
  • sessionProperties
    The collection of configuration properties registered for the security trimmer.

返回值

A System.Collection.BitArray object representing the results of the CheckAccess method.

备注

The CheckAccess method executes each time the Query engine returns search results that match the crawl rule that the custom security trimmer is associated with.

另请参阅

参考

ISecurityTrimmer 接口
ISecurityTrimmer 成员
Microsoft.Office.Server.Search.Query 命名空间

其他资源

企业级搜索结果的自定义安全修整概述
演练:对搜索结果使用自定义安全修整程序
企业级搜索安全模型
查询企业级搜索
定义爬网规则和文件类型