The SMS_UpdatesAssignment Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a deployment.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Class SMS_UpdatesAssignment : SMS_CIAssignmentBaseClass { Boolean ApplyToSubTargets; SInt32 AssignedCIs[]; SInt32 AssignmentAction; String AssignmentDescription; SInt32 AssignmentID; String AssignmentName; String AssignmentUniqueID; Boolean ContainsExpiredUpdates; DateTime CreationTime; SInt32 DesiredConfigType; Boolean DisableMomAlerts; UInt32 DPLocality; DateTime EnforcementDeadline; String EvaluationSchedule; DateTime ExpirationTime; DateTime LastModificationTime; UInt32 LegacyAdvertFlags; Boolean LegacyCollectInventory; String LegacyDependentProgram; Boolean LegacyDeploymentEnabled; String LegacyDeploymentSchedule; UInt32 LegacyDPLocality; Boolean LegacyForceReboot; Boolean LegacyInstallAllOnDeadline; SInt32 LegacyInstallAllowedWindow; Boolean LegacyPostponeInstall; UInt32 LegacyProgramFlags; UInt32 LegacyRebootCountdown; Boolean LegacySilentInstall; UInt32 LocaleID; Boolean LogComplianceToWinEvent; SInt32 NonComplianceCriticality; Boolean NotifyUser; Boolean OverrideServiceWindows; Boolean RaiseMomAlertsOnFailure; Boolean ReadOnly; Boolean RebootOutsideOfServiceWindows; Boolean SendDetailedNonComplianceStatus; String SourceSite; DateTime StartTime; UInt32 SuppressReboot; String TargetCollectionID; Boolean UseGMTTimes; Boolean WoLEnabled; }; |
Methods
The SMS_UpdatesAssignment class does not define any methods.
Properties
- ApplyToSubTargets
- Data type: BooleanAccess type: Read/WriteQualifiers: [not_null]See SMS_CIAssignmentBaseClass Server WMI Class.
- AssignedCIs
- Data type: SInt32 ArrayAccess type: Read/WriteQualifiers: [not_null]See SMS_CIAssignmentBaseClass Server WMI Class.
- AssignmentAction
- Data type: SInt32Access type: Read/WriteQualifiers: [not_null]See SMS_CIAssignmentBaseClass Server WMI Class.For this class, the default value is APPLY (2).
- AssignmentDescription
- Data type: StringAccess type: Read/WriteQualifiers: NoneSee SMS_CIAssignmentBaseClass Server WMI Class.
- AssignmentID
- Data type: SInt32Access type: Read/WriteQualifiers: [key]See SMS_CIAssignmentBaseClass Server WMI Class.
- AssignmentName
- Data type: StringAccess type: Read/WriteQualifiers: [not_null]See SMS_CIAssignmentBaseClass Server WMI Class.
- AssignmentUniqueID
- Data type: StringAccess type: Read-onlyQualifiers: [read, not_null]See SMS_CIAssignmentBaseClass Server WMI Class.
- ContainsExpiredUpdates
- Data type: BooleanAccess type: Read-onlyQualifiers: [read, not_null]See SMS_CIAssignmentBaseClass Server WMI Class.
- CreationTime
- Data type: DateTimeAccess type: Read-onlyQualifiers: [read, not_null]See SMS_CIAssignmentBaseClass Server WMI Class.
- DesiredConfigType
- Data type: SInt32Access type: Read/WriteQualifiers: [not_null]See SMS_CIAssignmentBaseClass Server WMI Class.For this class, the default value is REQUIRED (1).
- DisableMomAlerts
- Data type: BooleanAccess type: Read/WriteQualifiers: NoneSee SMS_CIAssignmentBaseClass Server WMI Class.
- DPLocality
- Data type: UInt32Access type: Read/WriteQualifiers: [not_null, bits]See SMS_CIAssignmentBaseClass Server WMI Class.For this class, the DPLocality property defaults to the flag combination DP_DOWNLOAD_FROM_LOCAL | DP_DOWNLOAD_FROM_REMOTE (0x50).
- EnforcementDeadline
- Data type: DateTimeAccess type: Read/WriteQualifiers: NoneThe date and time to automatically install the software update. Set this property to zero if the update is optional. It must not be set to a null pointer.
- EvaluationSchedule
- Data type: StringAccess type: Read/WriteQualifiers: NoneSee SMS_CIAssignmentBaseClass Server WMI Class.
- ExpirationTime
- Data type: DateTimeAccess type: Read/WriteQualifiers: NoneSee SMS_CIAssignmentBaseClass Server WMI Class.
- LastModificationTime
- Data type: DateTimeAccess type: Read-onlyQualifiers: [read, not_null]See SMS_CIAssignmentBaseClass Server WMI Class.
- LegacyAdvertFlags
- Data type: UInt32Access type: Read/WriteQualifiers:
[bits]Flags indicating how the advertisement should be announced to
the user of SMS 2003. Possible values are:
Bit Description 5
IMMEDIATE
8
ONSYSTEMSTARTUP
9
ONUSERLOGON
10
ONUSERLOGOFF
- LegacyCollectInventory
- Data type: BooleanAccess type: Read/WriteQualifiers: [lazy]true to trigger the inventory collection on SMS 2003. The default value is false.
- LegacyDependentProgram
- Data type: StringAccess type: Read/WriteQualifiers: NoneFormatted text string defining any program that should be run prior to the current program on SMS 2003. The default value is "".The format for this property is defined as <PackageID>;;<ProgramName>. If the program is in the same package, simply specify ;;<ProgramName>. The dependency is maintained only the first time that the program runs. After the program has run, the dependency is ignored. For example, you cannot create a recurring scheduled job for which the dependency is maintained for each program run.
- LegacyDeploymentEnabled
- Data type: BooleanAccess type: Read/WriteQualifiers: [not_null]true if the software updates deployment is enabled for SMS 2003 clients.
- LegacyDeploymentSchedule
- Data type: StringAccess type: Read/WriteQualifiers: [lazy]Advertisement schedule for SMS 2003 clients.
- LegacyDPLocality
- Data type: UInt32Access type: Read/WriteQualifiers:
[lazy, bits]Flags that determine how the SMS 2003 client
obtains content from distribution points, according to distribution
point locality. Possible values are shown below. The default value
is DP_RUN_FROM_LOCAL | DP_RUN_FROM_REMOTE (bits 3 and 7 or 0x88).
Bit Description 3
DP_RUN_FROM_LOCAL
4
DP_DOWNOLAD_FROM_LOCAL
5
DP_NO_REMOTE
6
DP_DOWNLOAD_FROM_REMOTE
7
DP_RUN_FROM_REMOTE
17
DP_NO_FALLBACK_UNPROTECTED
- LegacyForceReboot
- Data type: BooleanAccess type: Read/WriteQualifiers: [lazy]true (default) to force reboot for SMS 2003 clients, if required.
- LegacyInstallAllOnDeadline
- Data type: BooleanAccess type: Read/WriteQualifiers: [lazy]true (default) to install on SMS 2003 clients only the updates that meet the deadline.
- LegacyInstallAllowedWindow
- Data type: SInt32Access type: Read/WriteQualifiers: [lazy]Install window for updates on SMS 2003 clients.
- LegacyPostponeInstall
- Data type: BooleanAccess type: Read/WriteQualifiers: [lazy]true (default) to enable postponement of SMS 2003 installations.Maps to /P.
- LegacyProgramFlags
- Data type: UInt32Access type: Read/WriteQualifiers:
[bits]Flags defining the installation characteristics of the
program for SMS 2003. Possible values are listed below. The
default value is COUNTDOWN(10).
Bit Description 7
DEPENDANT_FORCE_RERUN
9
RUN_DEPENDANT_ALWAYS
10
COUNTDOWN
- LegacyRebootCountdown
- Data type: UInt32Access type: Read/WriteQualifiers: [not_null]Reboot countdown for SMS 2003. The default value is 0.
- LegacySilentInstall
- Data type: BooleanAccess type: Read/WriteQualifiers: [lazy]true for a silent installation for SMS 2003. The default value is false.
- LocaleID
- Data type: UInt32Access type: Read-onlyQualifiers: [read, not_null]See SMS_CIAssignmentBaseClass Server WMI Class.
- LogComplianceToWinEvent
- Data type: BooleanAccess type: Read/WriteQualifiers: [not_null]See SMS_CIAssignmentBaseClass Server WMI Class.
- NonComplianceCriticality
- Data type: SInt32Access type: Read/WriteQualifiers: NoneSee SMS_CIAssignmentBaseClass Server WMI Class.
- NotifyUser
- Data type: BooleanAccess type: Read/WriteQualifiers: [not_null]See SMS_CIAssignmentBaseClass Server WMI Class.
- OverrideServiceWindows
- Data type: BooleanAccess type: Read/WriteQualifiers: NoneSee SMS_CIAssignmentBaseClass Server WMI Class.
- RaiseMomAlertsOnFailure
- Data type: BooleanAccess type: Read/WriteQualifiers: NoneSee SMS_CIAssignmentBaseClass Server WMI Class.
- ReadOnly
- Data type: BooleanAccess type: Read-onlyQualifiers: [read, not_null]The assignment is read-only.
- RebootOutsideOfServiceWindows
- Data type: BooleanAccess type: Read/WriteQualifiers: NoneSee SMS_CIAssignmentBaseClass Server WMI Class.
- SendDetailedNonComplianceStatus
- Data type: BooleanAccess type: Read/WriteQualifiers: [not_null]See SMS_CIAssignmentBaseClass Server WMI Class.
- SourceSite
- Data type: StringAccess type: Read-onlyQualifiers: [read, not_null]See SMS_CIAssignmentBaseClass Server WMI Class.
- StartTime
- Data type: DateTimeAccess type: Read/WriteQualifiers: [not_null]See SMS_CIAssignmentBaseClass Server WMI Class.
- SuppressReboot
- Data type: UInt32Access type: Read/WriteQualifiers: [not_null, bits]See SMS_CIAssignmentBaseClass Server WMI Class.
- TargetCollectionID
- Data type: StringAccess type: Read/WriteQualifiers: [not_null]See SMS_CIAssignmentBaseClass Server WMI Class.
- UseGMTTimes
- Data type: BooleanAccess type: Read/WriteQualifiers: [not_null]See SMS_CIAssignmentBaseClass Server WMI Class.
- WoLEnabled
- Data type: BooleanAccess type: Read/WriteQualifiers: NoneSee SMS_CIAssignmentBaseClass Server WMI 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.
After preparing the software updates to deploy, your application can use this class as described in How to Configure and Deploy Updates. After the application creates the deployment, Configuration Manager creates the corresponding policy in the database. The client polls the management point for new and changed properties and the download occurs when a request is detected.
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
Send comments about this topic to Microsoft.