The GetCategorizationRequestText Windows Management Instrumentation (WMI) class method, in System Center 2012 Configuration Manager, retrieves the XML that is sent to System Center Online for categorization.

The following syntax is simplified from Managed Object Format (MOF) code and defines the method.

SInt32 GetCategorizationRequestText(
	 String SoftwareKey,
	 String CategorizationRequestText



Data type: StringQualifiers: [in]The MD5 hash of the software to be categorized. The hash is made up of the software name, publisher, and version.This property name has changed from SoftwarePropertiesHash to SoftwareKey in SP1.

Data type: StringQualifiers: [out]XML formatted string which contains the hash, name, version, publisher, evidence type, and system default locale identifier (LCID) of the software.

Return Values

An SInt32 data type that is 0 to indicate success or non-zero to indicate failure.

For information about handling returned errors, see About Configuration Manager Errors.


Runtime Requirements

Development Requirements

See Also