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;


The following table lists the methods in SMS_PackageToContent.

Method Description

IsContentValid Method in Class SMS_PackageToContent

Determines if the package content is valid.



Data type: SInt32Access type: Read/WriteQualifiers: [key, Not_null]The value of the ContentID property of the package.

Data type: StringAccess type: Read/WriteQualifiers: [Not_null]The name of the subfolder in the package source folder that contains the files for the content.

Data type: StringAccess type: Read-onlyQualifiers: [read, Not_null]The unique ID for the content.

Data type: SInt32Access type: Read/WriteQualifiers: [Not_null]The version of the content in the package.

Data type: SInt32Access type: Read/WriteQualifiers: [Not_null]The minimum package version in which the content appears.

Data type: StringAccess type: Read/WriteQualifiers: [key, Not_null]Configuration Manager-specific ID of the package.


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.


Runtime Requirements

Development Requirements

See Also

Send comments about this topic to Microsoft.