SMS_SoftwareUpdatesPackage Server WMI Class
Updated: November 1, 2013
Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager
The SMS_SoftwareUpdatesPackage Windows Management Instrumentation (WMI) class is an SMS Provider server class, in System Center 2012 R2 Configuration Manager, that represents the package that is the unit of distribution of program binaries with which the software update is associated.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Class SMS_SoftwareUpdatesPackage : SMS_PackageBaseclass
{
UInt32 ActionInProgress;
String AlternateContentProviders;
String Description;
UInt8 ExtendedData[];
UInt32 ExtendedDataSize;
UInt32 ForcedDisconnectDelay;
Boolean ForcedDisconnectEnabled;
UInt32 ForcedDisconnectNumRetries;
UInt8 Icon[];
UInt32 IconSize;
Boolean IgnoreAddressSchedule;
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 PackageSize;
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;
};
The following table shows the methods in SMS_SoftwareUpdatesPackage.
Method | Description |
|---|---|
AddChangeNotification Method in Class SMS_SoftwareUpdatesPackage | Adds a software updates package change notification. |
AddDistributionPoints Method in Class SMS_SoftwareUpdatesPackage | Adds the distribution points for the software updates package. |
Downloads content and replicates it to distribution points. | |
Restores the contents for the package in the package source location. | |
Refreshes the package source at all distribution points, when the package properties have not changed. | |
Removes the specified content from the software updates package. | |
Sets the code of the source site for the software updates package. | |
Sets the source site to the current site, unlocking the software updates package. | |
ValidateNewPackageSource Method in Class SMS_SoftwareUpdatesPackage | Validates the new package source location by verifying the software updates package content. |
- ActionInProgress
Data type: UInt32
Access type: Read-only
Qualifiers: [read]
- AlternateContentProviders
Data type: String
Access type: Read/Write
Qualifiers: [large, lazy]
Not used for this class.
- Description
Data type: String
Access type: Read/Write
Qualifiers: None
- ExtendedData
Data type: UInt8 Array
Access type: Read/Write
Qualifiers: [large, lazy]
- ExtendedDataSize
Data type: UInt32
Access type: Read/Write
Qualifiers: [lazy]
- ForcedDisconnectDelay
Data type: UInt32
Access type: Read/Write
Qualifiers: None
- ForcedDisconnectEnabled
Data type: Boolean
Access type: Read/Write
Qualifiers: None
- ForcedDisconnectNumRetries
Data type: UInt32
Access type: Read/Write
Qualifiers: None
- Icon
Data type: UInt8 Array
Access type: Read/Write
Qualifiers: [large]
- IconSize
Data type: UInt32
Access type: Read/Write
Qualifiers: [lazy]
- IgnoreAddressSchedule
Data type: Boolean
Access type: Read/Write
Qualifiers: None
- ISVData
Data type: UInt8 Array
Access type: Read/Write
Qualifiers: [large, lazy]
- ISVDataSize
Data type: UInt32
Access type: Read/Write
Qualifiers: [lazy]
- Language
Data type: String
Access type: Read/Write
Qualifiers: None
- LastRefreshTime
Data type: DateTime
Access type: Read-only
Qualifiers: [read]
- LocalizedCategoryInstancenames
Data type: String Array
Access type: Read-only
Qualifiers: [read]
- Manufacturer
Data type: String
Access type: Read/Write
Qualifiers: None
- MIFFilename
Data type: String
Access type: Read/Write
Qualifiers: None
- MIFName
Data type: String
Access type: Read/Write
Qualifiers: None
- MIFPublisher
Data type: String
Access type: Read/Write
Qualifiers: None
- MIFVersion
Data type: String
Access type: Read/Write
Qualifiers: None
- Name
Data type: String
Access type: Read/Write
Qualifiers: None
- NumOfPrograms
Data type: UInt32
Access type: Read/Write
Qualifiers:
- PackageID
Data type: String
Access type: [key]
- PackageSize
Data type: UInt32
Access type: Read
- PackageType
Data type: UInt32
Access type: Read/Write
Qualifiers: None
- PkgFlags
Data type: UInt32
Access type: Read/Write
Qualifiers: [bits]
- PkgSourceFlag
Data type: UInt32
Access type: Read/Write
Qualifiers: None
- PkgSourcePath
Data type: String
Access type: Read/Write
Qualifiers: None
- PreferredAddressType
Data type: String
Access type: Read/Write
Qualifiers: None
- Priority
Data type: UInt32
Access type: Read/Write
Qualifiers: None
- RefreshPkgSourceFlag
Data type: Boolean
Access type: Read/Write
Qualifiers: [lazy]
- RefreshSchedule
Data type: SMS_ScheduleToken Array
Access type: [max(15), lazy]
- SedoObjectVersion
Data type: String
Access type: Read/Write
Qualifiers: <Need Additional Information>
- SecuredScopeNames
Data type: String Array
Access type: Read-only
Qualifiers: [read]
- ShareName
Data type: String
Access type: Read/Write
Qualifiers: None
- ShareType
Data type: UInt32
Access type: Read/Write
Qualifiers: None
- SourceDate
Data type: DateTime
Access type: Read-only
Qualifiers: [read]
- SourceSite
Data type: String
Access type: Read-only
Qualifiers: [read]
- SourceVersion
Data type: UInt32
Access type: Read-only
Qualifiers: [read]
- StoredPkgPath
Data type: String
Access type: Read/Write
Qualifiers: None
- StoredPkgVersion
Data type: UInt32
Access type: Read/Write
Qualifiers: None
- Version
Data type: String
Access type: Read/Write
Qualifiers: None
Class qualifiers for this class include:
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.
Your application can create a software updates package as described in How to Create a Deployment Package. See also How to Change the Deployment Package Source for instructions on changing the source for the software updates package.
Requirements
For more information, see Configuration Manager Server Runtime Requirements.
For more information, see Configuration Manager Server Development Requirements.