ISchemaOperations.GetAllCategories method
Return all categories.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
<OperationContractAttribute> _
Function GetAllCategories ( _
owner As SearchObjectOwner _
) As CategoryInfoCollection
'Usage
Dim instance As ISchemaOperations
Dim owner As SearchObjectOwner
Dim returnValue As CategoryInfoCollection
returnValue = instance.GetAllCategories(owner)
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
[OperationContractAttribute]
CategoryInfoCollection GetAllCategories(
SearchObjectOwner owner
)
Parameters
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerRepresents the Sharepoint hierarchy in which the categories are contained.
Return value
Type: Microsoft.Office.Server.Search.Administration.CategoryInfoCollection
A collection of categories.