共用方式為


SMS_CIAllCategories Server WMI Class

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 SMS_CIAllCategories Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that lists all of the SMS_CategoryInstance Server WMI Class or SMS_UpdateCategoryInstance Server WMI Class object instances for a given SMS_ConfigurationItem object.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_CIAllCategories : SMS_BaseClass
{
    String CategoryInstance_UniqueID;
    UInt32 CategoryInstanceID;
    UInt32 CI_ID;
};

Methods

The SMS_CIAllCategories class does not define any methods.

Properties

  • CategoryInstance_UniqueID
    Data type: String

    Access type: Read/Write

    Qualifiers: [unique, SizeLimit("512")]

    The unique ID for the category instance. This string can have a maximum of 512 characters. This ID is defined by the CategoryInstance_UniqueID property of SMS_CategoryInstanceBase Server WMI Class for the specific configuration item.

  • CategoryInstanceID
    Data type: UInt32

    Access type: Read-only

    Qualifiers: [key, read, Not_null]

    Configuration Manager-generated, site-specific ID for the category instance. This ID is defined by the CategoryInstanceID property of SMS_CategoryInstanceBase Server WMI Class for the specific configuration item.

  • CI_ID
    Data type: UInt32

    Access type: Read-only

    Qualifiers: [key, read, Not_null]

    The unique ID of the configuration item. This ID is unique only for the site. The ID is defined by the CI_ID property of SMS_ConfigurationItemBaseClass Server WMI Class for the specific configuration item.

Remarks

Class qualifiers for this class include:

  • Read (read-only)

For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

This class is applicable to all types of configuration items, not just software updates. For a discussion of configuration item types, see the CIType_ID property of SMS_ConfigurationItemBaseClass Server WMI Class.

Use this class to query for all categories associated with a configuration item, or all configuration items associated with a category.

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_ConfigurationItemBaseClass Server WMI Class

Concepts

Software Updates Server WMI Classes
SMS_CategoryInstance Server WMI Class
SMS_CategoryInstanceBase Server WMI Class
SMS_UpdateCategoryInstance Server WMI Class
Configuration Manager Software Updates