GetCategoryEnumerator method
Retrieves a category enumerator for the specified content type.
Syntax
var retval = OpenServiceActivityManager.GetCategoryEnumerator(eType);
Parameters
eType [in]
Type: OpenServiceActivityContentTypeA value from the OpenServiceActivityContentType enumeration, specifying the content type.
ppEnum [out]
Type: IEnumOpenServiceActivityCategoryAn IEnumOpenServiceActivityCategory interface that contains the retrieved enumerator object.
Return value
Type: HRESULT
This method can return one of these values.
Return code | Description |
---|---|
OS_E_GPDISABLED | Group policy does not permit Accelerators. |
Remarks
The content type specified by the eType parameter filters both the categories returned by the enumerator and the Accelerators present in each category.
See also
Reference