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: StringAccess type: Read/WriteQualifiers: NoneCondition that the client evaluates before evaluating a software update. If the condition does not exist, the update is not evaluated.
DateCreated


Data type: DateTimeAccess type: Read/WriteQualifiers: NoneDate and time when the update source was created.
DateModified


Data type: DateTimeAccess type: Read/WriteQualifiers: NoneDate and time when the update source was last modified.
IsExpired


Data type: BooleanAccess type: Read/WriteQualifiers: [not_null]true if the update source is no longer active. The default value is false.
PublicKeys


Data type: StringAccess type: Read/WriteQualifiers: [lazy]Public keys with which all the associated binaries are signed.
ScanMethod


Data type: StringAccess type: Read/WriteQualifiers: NoneScan method for the update source.
ScanMethodParameters


Data type: StringAccess type: Read/WriteQualifiers: NoneScan method parameters.
ScannerToolPkgID


Data type: StringAccess type: Read/WriteQualifiers: [not_null]ID of the scanner tool package associated with the update source.
ScanType


Data type: UInt32Access type: Read/WriteQualifiers: NoneType of scan to use for the source. Possible values are:
  • WSUS

  • Offline source

SourceContentType


Data type: UInt32Access type: Read/WriteQualifiers: NoneType of content distributed by the update source.
SourceSite


Data type: StringAccess type: Read/WriteQualifiers: [not_null]Site code for the update source site.
UpdateSourceDescription


Data type: StringAccess type: Read/WriteQualifiers: NoneDescription of the update source.
UpdateSourceID


Data type: UInt32Access type: Read/WriteQualifiers: [key, not_null]The unique ID of the software update source. This ID is unique only for the site.
UpdateSourceName


Data type: StringAccess type: Read/WriteQualifiers: [not_null]Name of the update source.
UpdateSourceUniqueID


Data type: StringAccess type: Read/WriteQualifiers: [not_null]The unique ID for the update source. This ID is unique across sites.
UpdateSourceVersion


Data type: StringAccess type: Read/WriteQualifiers: [not_null]Version of the update source.
UpdateType


Data type: StringAccess type: Read/WriteQualifiers: [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

Development Requirements

See Also


Send comments about this topic to Microsoft.