共用方式為


SMS_CIToContent 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_CIToContent Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that exposes the configuration item to content relationship for a software update. It lists all the contents in the configuration item.

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

Class SMS_CIToContent : SMS_BaseClass
{
    UInt32 CI_ID;
    String ContentDescription;
    Boolean ContentDownloaded;
    String ContentHash;
    SInt32 ContentHashVersion;
    SInt32 ContentID;
    String ContentLocales[];
    String ContentUniqueID;
    SInt32 ContentVersion;
    String SDMMethodtype;
};

Methods

The SMS_CIToContent class does not define any methods.

Properties

  • CI_ID
    Data type: UInt32

    Access type: Read-only

    Qualifiers: [read, key, Not_null]

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

  • ContentDescription
    Data type: String

    Access type: Read-only

    Qualifiers: [read]

    Description of the update content.

  • ContentDownloaded
    Data type: Boolean

    Access type: Read-only

    Qualifiers: [read, Not_null]

    true if the content is downloaded.

  • ContentHash
    Data type: String

    Access type: Read-only

    Qualifiers: [read]

    Hash of the content files.

  • ContentHashVersion
    Data type: SInt32

    Access type: Read-only

    Qualifiers: [read]

    The content hash version.

  • ContentID
    Data type: SInt32

    Access type: Read-only

    Qualifiers: [read, key, Not_null]

    ID for the software update content.

  • ContentLocales
    Data type: String Array

    Access type: Read-only

    Qualifiers: [read, Not_null]

    Array of locales associated with the content.

  • ContentUniqueID
    Data type: String

    Access type: Read-only

    Qualifiers: [read, Not_null]

    The unique ID of the content.

  • ContentVersion
    Data type: SInt32

    Access type: Read-only

    Qualifiers: [read, Not_null]

    The version of the content.

  • SDMMethodtype
    Data type: String

    Access type: Read-only

    Qualifiers: [read, key, Not_null]

    System Definition Model (SDM) method type corresponding to the configuration item.

Remarks

Class qualifiers for this class include:

  • Read (read-only)

  • Secured

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.

Your application can query this class to get the list of contents and files associated with the software update configuration item. The class can also be used to get the list of configuration items that contain the specified content.

Software update content must be downloaded manually. To identify the contents to download, your application queries SMS_CIToContent and obtains the list of ContentID properties matching the specified locale criteria. With this list, the application can obtain the associated download URL and related properties for the content files from SMS_CIContentFiles Server WMI Class.

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_CIContentFiles Server WMI Class
Configuration Manager Software Updates
About Software Updates Deployments