SearchServiceApplicationProxy.GetIdForContextKey method
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaração
Public Function GetIdForContextKey ( _
searchObjectOwner As SearchObjectOwner, _
ContextName As String _
) As Integer
'Uso
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
)
Parâmetros
- searchObjectOwner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwner
- ContextName
Type: System.String
Valor retornado
Type: System.Int32
Ver também
Referência
SearchServiceApplicationProxy class