ISchemaOperations.GetAllCategories method
Retorne todas as categorias.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaração
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
<OperationContractAttribute> _
Function GetAllCategories ( _
owner As SearchObjectOwner _
) As CategoryInfoCollection
'Uso
Dim instance As ISchemaOperations
Dim owner As SearchObjectOwner
Dim returnValue As CategoryInfoCollection
returnValue = instance.GetAllCategories(owner)
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
[OperationContractAttribute]
CategoryInfoCollection GetAllCategories(
SearchObjectOwner owner
)
Parâmetros
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerRepresenta a hierarquia do Sharepoint no qual as categorias estão contidas.
Valor retornado
Type: Microsoft.Office.Server.Search.Administration.CategoryInfoCollection
Uma coleção de categorias.