Share via


SMS_ImagePackage Server WMI Class

 

Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager

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.

Syntax

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 LocalizedCategoryInstanceNames[];
      String Manufacturer;
      String MIFFilename;
      String MIFName;
      String MIFPublisher;
      String MIFVersion;
      String Name;
      UInt32 NumOfPrograms;
      String PackageID;
      UInt32 PackageType;
      UInt32 PkgFlags;
      UInt32 PkgSourceFlag;
      String PkgSourcePath;
      String PreferredAddressType;
      UInt32 Priority;
      Boolean RefreshPkgSourceFlag;
      SMS_ScheduleToken RefreshSchedule[];
      String SecuredScopeNames[];
      String SedoObjectVersion;
      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

AddChangeNotification Method in Class SMS_ImagePackage

Adds an image package change notification.

AddDistributionPoints Method in Class SMS_ImagePackage 

Adds the distribution points for the package.

GetImageProperties Method in Class SMS_ImagePackage

Reads all image properties from the specified WIM file to an XML string.

RefreshPkgSource Method in Class SMS_ImagePackage

Refreshes the package source at all distribution points, when the package properties have not changed.

ReloadImageProperties Method in Class SMS_ImagePackage

Reloads image properties from source WIM file and updates the database.

RunOfflineServicingManager Method in Class SMS_ImagePackage

Triggers the offline servicing manager to run as soon as possible.

SetSourceSite Method in Class SMS_ImagePackage

Sets the code of the source site for the image package.

Unlock Method in Class SMS_ImagePackage

Sets the source site to the current site, unlocking the image package.

Properties

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

Operating System Deployment Server WMI Classes