Retrieves the facet values for the objects that satisfy the specified search conditions.
| Visual Basic | 
|---|
| Public Function GetFacetValues( _ ByVal SearchConditions As SearchConditions, _ ByVal Facets As Expressions, _ ByVal FacetValuesMaxCount As Long, _ ByVal Flags As MFFacetSearchFlags _ ) As StringData | 
| Value | Description | 
|---|---|
| MFFacetSearchFlagAscendingOrder | Orders to use an ascending sorting order if the facet values are to be sorted. | 
| MFFacetSearchFlagIgnoreFacetGroupPermissions | Orders to perform no ACL check on facet groups. | 
| MFFacetSearchFlagIgnoreFacetValuePermissions | Orders to perform no ACL check on individual facet values. | 
| MFFacetSearchFlagIgnoreSearchPermissions | Orders to perform no ACL check on the underlying search results. | 
| MFFacetSearchFlagNone | No flags. | 
| MFFacetSearchFlagOverrideByConfiguration | Orders to override the facet search parameters by configuration if available. | 
| MFFacetSearchFlagSortFacetValues | Orders to sort facet values in descending occurrence order within each facet group. |