SMS_UpdatesAssignment Server WMI Class
Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager
The SMS_UpdatesAssignment Windows Management Instrumentation (WMI) class is an SMS Provider server class, in System Center 2012 R2 Configuration Manager, that represents a deployment.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Syntax
Class SMS_UpdatesAssignment : SMS_CIAssignmentBaseClass
{
Boolean ApplyToSubTargets;
SInt32 AssignedCIs[];
SInt32 AssignmentAction;
String AssignmentDescription;
SInt32 AssignmentID;
String AssignmentName;
SInt32 AssignmentType;
String AssignmentUniqueID;
Boolean ContainsExpiredUpdates;
DateTime CreationTime;
SInt32 DesiredConfigType;
Boolean DisableMomAlerts;
UInt32 DPLocality;
Boolean Enabled;
DateTime EnforcementDeadline;
String EvaluationSchedule;
DateTime ExpirationTime;
DateTime LastModificationTime;
String LastModifiedBy;
Boolean LimitStateMessageVerbosity; (obsolete in SP1)
UInt32 LocaleID;
Boolean LogComplianceToWinEvent;
SInt32 NonComplianceCriticality;
Boolean NotifyUser;
Boolean OverrideServiceWindows;
Boolean RaiseMomAlertsOnFailure;
Boolean RandomizationEnabled;
Boolean RebootOutsideOfServiceWindows;
Boolean SendDetailedNonComplianceStatus;
String SourceSite;
DateTime StartTime;
UInt32 StateMessagePriority;
UInt32 StateMessageVerbosity;
UInt32 SuppressReboot;
String TargetCollectionID;
Boolean UseBranchCache;
Boolean UseGMTTimes;
Boolean UserUIExperience;
Boolean WoLEnabled;
};
Methods
The SMS_UpdatesAssignment class does not define any methods.
Properties
ApplyToSubTargets
Data type: BooleanAccess type: Read/Write
Qualifiers: [not_null]
AssignedCIs
Data type: SInt32 ArrayAccess type: Read/Write
Qualifiers: [not_null]
AssignmentAction
Data type: SInt32Access type: Read/Write
Qualifiers: [not_null]
See SMS_CIAssignmentBaseClass Server WMI Class.
For this class, the default value is APPLY (2).
AssignmentDescription
Data type: StringAccess type: Read/Write
Qualifiers: None
AssignmentID
Data type: SInt32Access type: Read/Write
Qualifiers: [key]
AssignmentName
Data type: StringAccess type: Read/Write
Qualifiers: [not_null]
AssignmentType
Data type: SInt32Access type: Read
Qualifiers: None
AssignmentUniqueID
Data type: StringAccess type: Read-only
Qualifiers: [read, not_null]
ContainsExpiredUpdates
Data type: BooleanAccess type: Read-only
Qualifiers: [read, not_null]
CreationTime
Data type: DateTimeAccess type: Read-only
Qualifiers: [read, not_null]
DesiredConfigType
Data type: SInt32Access type: Read/Write
Qualifiers: [not_null]
See SMS_CIAssignmentBaseClass Server WMI Class.
For this class, the default value is REQUIRED (1).
1
REQUIRED
2
NOT_ALLOWED
DisableMomAlerts
Data type: BooleanAccess type: Read/Write
Qualifiers: None
DPLocality
Data type: UInt32Access type: Read/Write
Qualifiers: [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).
Enabled
Data type: BooleanAccess type: Read
Qualifiers: None
EnforcementDeadline
Data type: DateTimeAccess type: Read/Write
Qualifiers: None
The 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/Write
Qualifiers: None
ExpirationTime
Data type: DateTimeAccess type: Read/Write
Qualifiers: None
LastModificationTime
Data type: DateTimeAccess type: Read-only
Qualifiers: [read, not_null]
LastModifiedBy
Data type: StringAccess type: Read-only
Qualifiers: None
LimitStateMessageVerbosity
Data type: BooleanAccess type: Read/Write
Qualifiers: [not_null]
LimitStateMessageVerbosity is deprecated in SP1. However, the value must still remain synchronized with StateMessageVerbosity. For StateMessageVerbosity values < 10, LimitStateMessageVerbosity must be set to true, otherwise LimitStateMessageVerbosity must be set to false.
This method/property has been removed or deprecated in System Center Configuration Manager SP1.
LocaleID
Data type: UInt32Access type: Read/Write
Qualifiers: None
LogComplianceToWinEvent
Data type: BooleanAccess type: Read/Write
Qualifiers: [not_null]
NonComplianceCriticality
Data type: SInt32Access type: Read/Write
Qualifiers: None
NotifyUser
Data type: BooleanAccess type: Read/Write
Qualifiers: [not_null]
OverrideServiceWindows
Data type: BooleanAccess type: Read/Write
Qualifiers: None
RaiseMomAlertsOnFailure
Data type: BooleanAccess type: Read/Write
Qualifiers: None
RandomizationEnabled
Data type: BooleanAccess type: Read/Write
Qualifiers: none
The post-deadline randomization delay was introduced in System Center 2012 Configuration Manager to better support virtual desktop infrastructure (VDI) environments and large-scale client deployments. The default post-deadline randomization delay is 120 minutes. Setting RandomizationEnabled to false disables the randomization delay. .
RebootOutsideOfServiceWindows
Data type: BooleanAccess type: Read/Write
Qualifiers: None
SendDetailedNonComplianceStatus
Data type: BooleanAccess type: Read/Write
Qualifiers: [not_null]
SourceSite
Data type: StringAccess type: Read-only
Qualifiers: [read, not_null]
StartTime
Data type: DateTimeAccess type: Read/Write
Qualifiers: [not_null]
StateMessagePriority
Data type: UInt32Access type: Read/Write
Qualifiers: [not_null]
StateMessageVerbosity
Data type: UInt32Access type: Read/Write
Qualifiers: none
Verbosity of state messages sent for this deployment.
0
NONE
1
ERRORS
5
SUCCESSES
10
ALL
This information applies to System Center 2012 Configuration Manager SP1 or later, and System Center 2012 R2 Configuration Manager or later.
SuppressReboot
Data type: UInt32Access type: Read/Write
Qualifiers: [not_null, bits]
TargetCollectionID
Data type: StringAccess type: Read/Write
Qualifiers: [not_null]
UseBranchCache
Data type: BooleanAccess type: Read/Write
Qualifiers: [not_null]
Use branch cache. The default value is true.
UseGMTTimes
Data type: BooleanAccess type: Read/Write
Qualifiers: [not_null]
UserUIExperience
Data type: BooleanAccess type: Read/Write
Qualifiers: None
true to show a reboot notification. When set to false, no reboot notification will be shown. The default value is true.
WoLEnabled
Data type: BooleanAccess type: Read/Write
Qualifiers: None
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, System Center 2012 R2 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
Configuration Manager Software Updates Server WMI Classes
Configuration Manager Software Updates