Partilhar via


SMS_SoftwareUpdateSource 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_SoftwareUpdateSource Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that lists all software update sources available on the site, for use in synchronizing metadata during a deployment.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_SoftwareUpdateSource : SMS_BaseClass
{
      String ApplicabilityCondition;
      DateTime DateCreated;
      DateTime DateModified;
      Boolean IsExpired;
      String PublicKeys;
      String ScanMethod;
      String ScanMethodParameters;
      String ScannerToolPkgID;
      UInt32 ScanType;
      UInt32 SourceContentType;
      String SourceSite;
      String UpdateSourceDescription;
      UInt32 UpdateSourceID;
      String UpdateSourceName;
      String UpdateSourceUniqueID;
      String UpdateSourceVersion;
      String UpdateType;
};

Methods

The following table shows the methods in SMS_SoftwareUpdateSource.

Method Description

ResendObjectToAllSites Method in Class SMS_SoftwareUpdateSource

Replicates object information to all child sites.

Properties

  • ApplicabilityCondition
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Condition that the client evaluates before evaluating a software update. If the condition does not exist, the update is not evaluated.

  • DateCreated
    Data type: DateTime

    Access type: Read/Write

    Qualifiers: None

    Date and time when the update source was created.

  • DateModified
    Data type: DateTime

    Access type: Read/Write

    Qualifiers: None

    Date and time when the update source was last modified.

  • IsExpired
    Data type: Boolean

    Access type: Read/Write

    Qualifiers: [not_null]

    true if the update source is no longer active. The default value is false.

  • PublicKeys
    Data type: String

    Access type: Read/Write

    Qualifiers: [lazy]

    Public keys with which all the associated binaries are signed.

  • ScanMethod
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Scan method for the update source.

  • ScanMethodParameters
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Scan method parameters.

  • ScannerToolPkgID
    Data type: String

    Access type: Read/Write

    Qualifiers: [not_null]

    ID of the scanner tool package associated with the update source.

  • ScanType
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Type of scan to use for the source. Possible values are:

    • WSUS

    • Offline source

  • SourceContentType
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Type of content distributed by the update source.

  • SourceSite
    Data type: String

    Access type: Read/Write

    Qualifiers: [not_null]

    Site code for the update source site.

  • UpdateSourceDescription
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Description of the update source.

  • UpdateSourceID
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: [key, not_null]

    The unique ID of the software update source. This ID is unique only for the site.

  • UpdateSourceName
    Data type: String

    Access type: Read/Write

    Qualifiers: [not_null]

    Name of the update source.

  • UpdateSourceUniqueID
    Data type: String

    Access type: Read/Write

    Qualifiers: [not_null]

    The unique ID for the update source. This ID is unique across sites.

  • UpdateSourceVersion
    Data type: String

    Access type: Read/Write

    Qualifiers: [not_null]

    Version of the update source.

  • UpdateType
    Data type: String

    Access type: Read/Write

    Qualifiers: [not_null]

    Type of the update source.

Remarks

There are no special class qualifiers for this class. 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 uses this class to set or modify the source of a software update so that metadata is properly synchronized during update deployment. Currently, the supported sources for software updates are Windows Server Update Services (WSUS) and ITMU/Offline Catalog.

To use this class, the application creates an SMS_SoftwareUpdateSource object and sets the properties as required for the particular software update and the source. When ready for metadata synchronization among the parent site and the child sites, the application can call ResendObjectToAllSites Method in Class SMS_SoftwareUpdateSource.

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

Software Updates Server WMI Classes
ResendObjectToAllSites Method in Class SMS_SoftwareUpdateSource
Configuration Manager Software Updates