How to read Product first parent Category Name from CatalogItemsDataSet

hi,

I'm using Commerce Server Search. With options below:

searchOptions.ClassTypes = CatalogClassTypes.ProductFamilyClass

I would like to read product first parent categoryName.

I've tryed to use CatalogItemsDataSetSchema.PrimaryParentCategoryName

Property, but it contains parent category display name in fact.

I've tryed to use CategoryName but for searchOptions.ClassTypes = CatalogClassTypes.ProductFamilyClass but

it contains null value.

Is there any option/property to get first parent category name from catalogitem

for searchOptions.ClassTypes = CatalogClassTypes.ProductFamilyClass?

Maciej

[627 byte] By [MaciejKoper] at [2008-1-7]