ISchemaOperations.GetAllCategories-Methode
Gibt alle Kategorien zurück.
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
)
Parameter
owner
Typ: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerStellt die Sharepoint-Hierarchie in der Kategorien enthalten sind.
Rückgabewert
Typ: Microsoft.Office.Server.Search.Administration.CategoryInfoCollection
Eine Auflistung der Kategorien.