ICategory::get_AncestorCategories
The AncestorCategories property is a read-only Recordset object that contains the names of categories that exist anywhere above this category in the hierarchy
Definition
HRESULT ICategory::get_AncestorCategories(_Recordset**AncestorCategories);
Parameters
AncestorCategories
[out, retval] A _Recordset object used to return the ancestor categories.
Return Values
This method returns an HRESULT indicating whether it completed successfully.
Error Values
This method returns S_OK (0x00000000) to indicate success and standard COM HRESULT error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object, which can be accessed using the API function GetErrorInfo. In particular, the GetDescription method of the IErrorInfo interface may return a text description of the error.
Remarks
The AncestorCategories property contains valid data only if it was accessed successfully.
The AncestorCategories property is a Recordset object with a single 128-character field, named Name.
See Also
ICategory::get_ParentCategories