SearchServiceApplicationProxy.GetIdForContextKey method
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function GetIdForContextKey ( _
searchObjectOwner As SearchObjectOwner, _
ContextName As String _
) As Integer
'Usage
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
)
Parameters
- searchObjectOwner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwner
- ContextName
Type: System.String
Return value
Type: System.Int32
See also
Reference
SearchServiceApplicationProxy class