Compartilhar via


SMS_SoftwareUpdatesPackage 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_SoftwareUpdatesPackage Windows Management Instrumentation (WMI) class is an SMS Provider server class, in 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 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_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.

AddUpdateContent Method in Class SMS_SoftwareUpdatesPackage

Downloads content and replicates it to distribution points.

RebuildPackage Method in Class SMS_SoftwareUpdatesPackage

Restores the contents for the package in the package source location.

RefreshPkgSource Method in Class SMS_SoftwareUpdatesPackage

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

RemoveContent Method in Class SMS_SoftwareUpdatesPackage

Removes the specified content from the software updates package.

SetSourceSite Method in Class SMS_SoftwareUpdatesPackage

Sets the code of the source site for the software updates package.

Unlock Method in Class SMS_SoftwareUpdatesPackage

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.

Properties

  • ActionInProgress
    Data type: UInt32

    Access type: Read-only

    Qualifiers: [read, ResID(733), ResDLL("SMS_RSTT.dll"), ResIDValueLookup("ActionInProgress")]

    See SMS_PackageBaseclass Server WMI Class.

  • AlternateContentProviders
    Data type: String

    Access type: Read/Write

    Qualifiers: [ResID(739), ResDLL("SMS_RSTT.dll"), large, lazy]

    Not used for this class.

Remarks

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

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

Reference

SMS_PackageBaseclass Server WMI Class

Concepts

Software Updates Server WMI Classes
About Software Updates Deployments
How to Create a Deployment Package
How to Change the Deployment Package Source