Compartilhar via


SMS_PackageToContent 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_PackageToContent Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that relates a Configuration Manager package to its content.

Class SMS_PackageToContent : SMS_BaseClass
{
      SInt32 ContentID;
      String ContentSubFolder;
      String ContentUniqueID;
      SInt32 ContentVersionInPkg;
      SInt32 MinPackageVersion;
      String PackageID;
};

Methods

The following table lists the methods in SMS_PackageToContent.

Method Description

IsContentValid Method in Class SMS_PackageToContent

Determines if the package content is valid.

Properties

  • ContentID
    Data type: SInt32

    Access type: Read/Write

    Qualifiers: [key, Not_null]

    The value of the ContentID property of the package.

  • ContentSubFolder
    Data type: String

    Access type: Read/Write

    Qualifiers: [Not_null]

    The name of the subfolder in the package source folder that contains the files for the content.

  • ContentUniqueID
    Data type: String

    Access type: Read-only

    Qualifiers: [read, Not_null]

    The unique ID for the content.

  • ContentVersionInPkg
    Data type: SInt32

    Access type: Read/Write

    Qualifiers: [Not_null]

    The version of the content in the package.

  • MinPackageVersion
    Data type: SInt32

    Access type: Read/Write

    Qualifiers: [Not_null]

    The minimum package version in which the content appears.

  • PackageID
    Data type: String

    Access type: Read/Write

    Qualifiers: [key, Not_null]

    Configuration Manager-specific ID of the package.

Remarks

Class qualifiers for this class include:

  • Secured

  • 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.

Your application can query this class to get the list of contents contained by a package or the list of packages that contain specified content.

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

Concepts

Software Distribution Server WMI Classes