Метод 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 класс
Элементы SearchServiceApplicationProxy
Пространство имен Microsoft.Office.Server.Search.Administration