Partilhar via


GetCategorizationRequestText Method in Class SMS_AISoftwareList

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 GetCategorizationRequestText Windows Management Instrumentation (WMI) class method, in 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 SoftwarePropertiesHash,
     String CategorizationRequestText
);

Parameters

  • SoftwarePropertiesHash
    Data type: String

    Qualifiers: [in]

    The MD5 hash of the software to be categorized. The hash is made up of the software name, publisher, and version.

  • CategorizationRequestText
    Data type: String

    Qualifiers: [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.

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

Reference

SMS_Site Server WMI Class