Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves all contexts of the search setting group where the context name contains the specified filter.
Namespace: Microsoft.SharePoint.Search.Extended.Administration.Keywords
Assembly: Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)
Syntax
'Declaration
Function GetContexts ( _
filter As String _
) As ContextCollection
'Usage
Dim instance As SearchSettingGroup
Dim filter As String
Dim returnValue As ContextCollection
returnValue = instance.GetContexts(filter)
ContextCollection GetContexts(
string filter
)
Parameters
filter
Type: System.StringThe filter string that the context name must contain in order to be included in the collection.
Return Value
Type: Microsoft.SharePoint.Search.Extended.Administration.Keywords.ContextCollection
A ContextCollection with all the matching Contexts.
See Also
Reference
Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace