Category3.AncestorCategories Property (PIA)
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
[Visual Basic .NET]
Imports Microsoft.CommerceServer.Interop.Catalog
Imports ADODB26Lib ‘ for _Recordset
…
Public Property AncestorCategories As _Recordset
[C#]
using Microsoft.CommerceServer.Interop.Catalog;
using ADODB26Lib; //For _Recordset
…
public _Recordset AncestorCategories {get;}
[C#]
Property Value
An ADODB26Lib._Recordset interface to a Recordset object containing the ancestor categories.
Exceptions
This property may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.
The following table shows the custom COM errors that a COMException can wrap.
Constant | Value | Description |
---|---|---|
E_CAT_INVALID_RS_POINTER | [C#] 0x889800B7 [Visual Basic .NET] &H889800B7 |
The recordset pointer that you specified is invalid |
Remarks
[Visual Basic .NET] The AncestorCategories property is a Recordset object with a 128-character field, named Name. This Recordset object also contains a 128-character string column called DisplayName that contains the display name of the category in the language of the category object.
[C#] The AncestorCategories property is an ADODB26Lib._Recordset interface to a Recordset object with a 128-character field, named Name. This Recordset object also contains a 128-character string column called DisplayName that contains the display name of the category in the language of the category object.
Requirements
Namespace: Microsoft.CommerceServer.Interop.Catalog
Platforms: Windows 2000, Windows Server 2003
Assembly: cataloglib (in cataloglib.dll)
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.