SearchServiceApplicationProxy.GetChangedConsumers 方法
检索所有搜索范围使用者管理的搜索范围的名称显示组、 搜索的范围内或自指定的时间戳后更改过的搜索范围规则。
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Function GetChangedConsumers ( _
ByRef lastChangeTimeStamp As Long _
) As List(Of String)
用法
Dim instance As SearchServiceApplicationProxy
Dim lastChangeTimeStamp As Long
Dim returnValue As List(Of String)
returnValue = instance.GetChangedConsumers(lastChangeTimeStamp)
public List<string> GetChangedConsumers(
ref long lastChangeTimeStamp
)
参数
lastChangeTimeStamp
类型:System.Int64通过引用传递的最后一次更改检索到时, 的时间戳。
返回值
类型:System.Collections.Generic.List<String>
搜索范围使用者名称的集合。
实现
ISearchSiteAdministrationServiceApplication.GetChangedConsumers(Int64)
异常
异常 | 条件 |
---|---|
TimeoutException | 操作超时已过期。 |
EndpointNotFoundException | 无法找到或到达的远程终结点。 |
Exception | 在应用程序执行期间发生错误如SearchServiceApplicationFault。 |
备注
lastChangeTimeStamp参数应为LastUpdate数据类型。
另请参阅
引用
SearchServiceApplicationProxy 类