SMS_ImagePackage 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_ImagePackage Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that serves as the unit of distribution for image source files that are used to deploy a valid operating system, for example, Windows Vista, in WIM format to a client computer.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Class SMS_ImagePackage : SMS_PackageBaseclass
{
UInt32 ActionInProgress;
String AlternateContentProviders;
String Description;
UInt8 ExtendedData[];
UInt32 ExtendedDataSize;
UInt32 ForcedDisconnectDelay;
Boolean ForcedDisconnectEnabled;
UInt32 ForcedDisconnectNumRetries;
UInt8 Icon[];
UInt32 IconSize;
Boolean IgnoreAddressSchedule;
String ImageDiskLayout;
String ImageProperty;
UInt8 ISVData[];
UInt32 ISVDataSize;
String Language;
DateTime LastRefreshTime;
String Manufacturer;
String MIFFilename;
String MIFName;
String MIFPublisher;
String MIFVersion;
String Name;
String PackageID;
UInt32 PackageType;
UInt32 PkgFlags;
UInt32 PkgSourceFlag;
String PkgSourcePath;
String PreferredAddressType;
UInt32 Priority;
Boolean RefreshPkgSourceFlag;
SMS_ScheduleToken RefreshSchedule[];
String ShareName;
UInt32 ShareType;
DateTime SourceDate;
String SourceSite;
UInt32 SourceVersion;
String StoredPkgPath;
UInt32 StoredPkgVersion;
String Version;
};
Methods
The following table shows the methods in SMS_ImagePackage.
Method | Description |
---|---|
Adds an image package change notification. |
|
Adds the distribution points for the package. |
|
Reads all image properties from the specified WIM file to an XML string. |
|
Refreshes the package source at all distribution points, when the package properties have not changed. |
|
Reloads image properties from source WIM file and updates the database. |
|
Sets the code of the source site for the image package. |
|
Sets the source site to the current site, unlocking the image package. |
Properties
ActionInProgress
Data type: UInt32Access type: Read-only
Qualifiers: [read, ResID(733), ResDLL("SMS_RSTT.dll"), ResIDValueLookup("ActionInProgress")]
AlternateContentProviders
Data type: StringAccess type: Read/Write
Qualifiers: [ResID(739), ResDLL("SMS_RSTT.dll"), large, lazy]
Description
Data type: StringAccess type: Read/Write
Qualifiers: [ResID(706), ResDLL("SMS_RSTT.dll")]
ExtendedData
Data type: UInt8 ArrayAccess type: Read/Write
Qualifiers: [ResID(735), ResDLL("SMS_RSTT.dll") ,large, lazy]
ExtendedDataSize
Data type: UInt32Access type: Read/Write
Qualifiers: [lazy, ResID(736), ResDLL("SMS_RSTT.dll")]
ForcedDisconnectDelay
Data type: UInt32Access type: Read/Write
Qualifiers: [ResID(719), ResDLL("SMS_RSTT.dll")]
ForcedDisconnectEnabled
Data type: BooleanAccess type: Read/Write
Qualifiers: [ResID(717), ResDLL("SMS_RSTT.dll")]
ForcedDisconnectNumRetries
Data type: UInt32Access type: Read/Write
Qualifiers: [ResID(718), ResDLL("SMS_RSTT.dll")]
Icon
Data type: UInt8 ArrayAccess type: Read/Write
Qualifiers: [ResID(724), ResDLL("SMS_RSTT.dll"), large]
IconSize
Data type: UInt32Access type: Read/Write
Qualifiers: [lazy, ResID(723), ResDLL("SMS_RSTT.dll")]
IgnoreAddressSchedule
Data type: BooleanAccess type: Read/Write
Qualifiers: [ResID(722), ResDLL("SMS_RSTT.dll")]
ImageDiskLayout
Data type: StringAccess type: Read-only
Qualifiers: [lazy, read]
An XML string of disk drive layout information about the source WIM image. The default value is "".
ImageProperty
Data type: StringAccess type: Read/Write
Qualifiers: [lazy]
An XML string of image metadata for the source WIM file. The default value is "".
ISVData
Data type: UInt8 ArrayAccess type: Read/Write
Qualifiers: [ResID(737), ResDLL("SMS_RSTT.dll"), large, lazy]
ISVDataSize
Data type: UInt32Access type: Read/Write
Qualifiers: [lazy, ResID(738), ResDLL("SMS_RSTT.dll")]
Language
Data type: StringAccess type: Read/Write
Qualifiers: [ResID(704), ResDLL("SMS_RSTT.dll")]
LastRefreshTime
Data type: DateTimeAccess type: Read-only
Qualifiers: [read, ResID(726), ResDLL("SMS_RSTT.dll")]
Manufacturer
Data type: StringAccess type: Read/Write
Qualifiers: [ResID(705), ResDLL("SMS_RSTT.dll")]
MIFFilename
Data type: StringAccess type: Read/Write
Qualifiers: [ResID(729), ResDLL("SMS_RSTT.dll")]
MIFName
Data type: StringAccess type: Read/Write
Qualifiers: [ResID(731), ResDLL("SMS_RSTT.dll")]
MIFPublisher
Data type: StringAccess type: Read/Write
Qualifiers: [ResID(730), ResDLL("SMS_RSTT.dll")]
MIFVersion
Data type: StringAccess type: Read/Write
Qualifiers: [ResID(732), ResDLL("SMS_RSTT.dll")]
Name
Data type: StringAccess type: Read/Write
Qualifiers: [ResID(702), ResDLL("SMS_RSTT.dll")]
PackageID
Data type: StringAccess type: [key, ResID(701), ResDLL("SMS_RSTT.dll")]
PackageType
Data type: UInt32Access type: Read/Write
Qualifiers: [ResID(734), ResDLL("SMS_RSTT.dll")]
See SMS_PackageBaseclass Server WMI Class.
For this class, the package type is PKG_TYPE_IMAGE (257).
PkgFlags
Data type: UInt32Access type: Read/Write
Qualifiers: [bits, ResID(728), ResDLL("SMS_RSTT.dll")]
PkgSourceFlag
Data type: UInt32Access type: Read/Write
Qualifiers: [ResID(707), ResDLL("SMS_RSTT.dll"), ResIDValueLookup("PkgSourceFlag")]
PkgSourcePath
Data type: StringAccess type: Read/Write
Qualifiers: [ResID(708), ResDLL("SMS_RSTT.dll")]
PreferredAddressType
Data type: StringAccess type: Read/Write
Qualifiers: [ResID(721), ResDLL("SMS_RSTT.dll")]
Priority
Data type: UInt32Access type: Read/Write
Qualifiers: [ResID(720),ResDLL("SMS_RSTT.dll"), ResIDValueLookup("Priority")]
RefreshPkgSourceFlag
Data type: BooleanAccess type: Read/Write
Qualifiers: [lazy, ResID(709), ResDLL("SMS_RSTT.dll")]
RefreshSchedule
Data type: SMS_ScheduleToken ArrayAccess type: [max(15), lazy, ResID(725), ResDLL("SMS_RSTT.dll")]
ShareName
Data type: StringAccess type: Read/Write
Qualifiers: [ResID(715), ResDLL("SMS_RSTT.dll")]
ShareType
Data type: UInt32Access type: Read/Write
Qualifiers: [ResID(714), ResDLL("SMS_RSTT.dll"), ResIDValueLookup("ShareType")]
SourceDate
Data type: DateTimeAccess type: Read-only
Qualifiers: [read, ResID(713), ResDLL("SMS_RSTT.dll")]
SourceSite
Data type: StringAccess type: Read-only
Qualifiers: [read, ResID(716), ResDLL("SMS_RSTT.dll")]
SourceVersion
Data type: UInt32Access type: Read-only
Qualifiers: [read,ResID(712), ResDLL("SMS_RSTT.dll")]
StoredPkgPath
Data type: StringAccess type: Read/Write
Qualifiers: [ResID(710), ResDLL("SMS_RSTT.dll")]
StoredPkgVersion
Data type: UInt32Access type: Read/Write
Qualifiers: [ResID(711), ResDLL("SMS_RSTT.dll")]
Version
Data type: StringAccess type: Read/Write
Qualifiers: [ResID(703), ResDLL("SMS_RSTT.dll")]
Remarks
Class qualifiers for this class include:
Secured
Icon("Package.ico")
For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.
To get started using this class, see How to Add an Operating System Image Package in Configuration Manager.
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
Operating System Deployment Server WMI Classes
Operating System Deployment Image Management
How to Add an Operating System Image Package in Configuration Manager