SearchServiceApplicationProxy.GetIdForContextKey 方法
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Function GetIdForContextKey ( _
searchObjectOwner As SearchObjectOwner, _
ContextName As String _
) As Integer
用法
Dim instance As SearchServiceApplicationProxy
Dim searchObjectOwner As SearchObjectOwner
Dim ContextName As String
Dim returnValue As Integer
returnValue = instance.GetIdForContextKey(searchObjectOwner, _
ContextName)
public int GetIdForContextKey(
SearchObjectOwner searchObjectOwner,
string ContextName
)
参数
- searchObjectOwner
类型:Microsoft.Office.Server.Search.Administration.SearchObjectOwner
- ContextName
类型:System.String
返回值
类型:System.Int32
另请参阅
引用
SearchServiceApplicationProxy 类