IProgram::GetCategories Method
Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2
The IProgram::GetCategories method, in Configuration Manager, gets all the categories to which the program belongs.
[IDL]
HRESULT GetCategories(
[out, retval] VARIANT* pvarCategories
);
Parameters
pvarCategories
Data type: VARIANTQualifiers: [out, retval]
Pointer to a variant containing a BSTR array of the text names of all the categories to which the program belongs.
Return Values
An HRESULT code. Possible values include, but are not limited to, the following:
- S_OK
The method succeeded.
Remarks
This method should be used to group programs based on what categories they are part of.
Requirements
UIResource.dll.
Runtime Requirements
For more information, see Configuration Manager Client Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Client Development Requirements.