Muokkaa

Jaa


SMS_UpdatesAssignment Server WMI Class

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.

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: Boolean

Access type: Read/Write

Qualifiers: [not_null]

See SMS_CIAssignmentBaseClass Server WMI Class.

AssignedCIs
Data type: SInt32 Array

Access type: Read/Write

Qualifiers: [not_null]

See SMS_CIAssignmentBaseClass Server WMI Class.

AssignmentAction
Data type: SInt32

Access type: Read/Write

Qualifiers: [not_null]

See SMS_CIAssignmentBaseClass Server WMI Class.

For this class, the default value is APPLY (2).

AssignmentDescription
Data type: String

Access type: Read/Write

Qualifiers: None

See SMS_CIAssignmentBaseClass Server WMI Class.

AssignmentID
Data type: SInt32

Access type: Read/Write

Qualifiers: [key]

See SMS_CIAssignmentBaseClass Server WMI Class.

AssignmentName
Data type: String

Access type: Read/Write

Qualifiers: [not_null]

See SMS_CIAssignmentBaseClass Server WMI Class.

AssignmentType
Data type: SInt32

Access type: Read

Qualifiers: None

See SMS_CIAssignmentBaseClass Server WMI Class.

AssignmentUniqueID
Data type: String

Access type: Read-only

Qualifiers: [read, not_null]

See SMS_CIAssignmentBaseClass Server WMI Class.

ContainsExpiredUpdates
Data type: Boolean

Access type: Read-only

Qualifiers: [read, not_null]

See SMS_CIAssignmentBaseClass Server WMI Class.

CreationTime
Data type: DateTime

Access type: Read-only

Qualifiers: [read, not_null]

See SMS_CIAssignmentBaseClass Server WMI Class.

DesiredConfigType
Data type: SInt32

Access type: Read/Write

Qualifiers: [not_null]

See SMS_CIAssignmentBaseClass Server WMI Class.

For this class, the default value is REQUIRED (1).

Value Type
1 REQUIRED
2 NOT_ALLOWED

DisableMomAlerts
Data type: Boolean

Access type: Read/Write

Qualifiers: None

See SMS_CIAssignmentBaseClass Server WMI Class.

DPLocality
Data type: UInt32

Access 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: Boolean

Access type: Read

Qualifiers: None

See SMS_CIAssignmentBaseClass Server WMI Class.

EnforcementDeadline
Data type: DateTime

Access 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: String

Access type: Read/Write

Qualifiers: None

See SMS_CIAssignmentBaseClass Server WMI Class.

ExpirationTime
Data type: DateTime

Access type: Read/Write

Qualifiers: None

See SMS_CIAssignmentBaseClass Server WMI Class.

LastModificationTime
Data type: DateTime

Access type: Read-only

Qualifiers: [read, not_null]

See SMS_CIAssignmentBaseClass Server WMI Class.

LastModifiedBy
Data type: String

Access type: Read-only

Qualifiers: None

See SMS_CIAssignmentBaseClass Server WMI Class.

LimitStateMessageVerbosity
Data type: Boolean

Access 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 Configuration Manager SP1.

LocaleID
Data type: UInt32

Access type: Read/Write

Qualifiers: None

See SMS_CIAssignmentBaseClass Server WMI Class.

LogComplianceToWinEvent
Data type: Boolean

Access type: Read/Write

Qualifiers: [not_null]

See SMS_CIAssignmentBaseClass Server WMI Class.

NonComplianceCriticality
Data type: SInt32

Access type: Read/Write

Qualifiers: None

See SMS_CIAssignmentBaseClass Server WMI Class.

NotifyUser
Data type: Boolean

Access type: Read/Write

Qualifiers: [not_null]

See SMS_CIAssignmentBaseClass Server WMI Class.

OverrideServiceWindows
Data type: Boolean

Access type: Read/Write

Qualifiers: None

See SMS_CIAssignmentBaseClass Server WMI Class.

RaiseMomAlertsOnFailure
Data type: Boolean

Access type: Read/Write

Qualifiers: None

See SMS_CIAssignmentBaseClass Server WMI Class.

RandomizationEnabled
Data type: Boolean

Access 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: Boolean

Access type: Read/Write

Qualifiers: None

See SMS_CIAssignmentBaseClass Server WMI Class.

SendDetailedNonComplianceStatus
Data type: Boolean

Access type: Read/Write

Qualifiers: [not_null]

See SMS_CIAssignmentBaseClass Server WMI Class.

SourceSite
Data type: String

Access type: Read-only

Qualifiers: [read, not_null]

See SMS_CIAssignmentBaseClass Server WMI Class.

StartTime
Data type: DateTime

Access type: Read/Write

Qualifiers: [not_null]

See SMS_CIAssignmentBaseClass Server WMI Class.

StateMessagePriority
Data type: UInt32

Access type: Read/Write

Qualifiers: [not_null]

See SMS_CIAssignmentBaseClass Server WMI Class.

StateMessageVerbosity
Data type: UInt32

Access type: Read/Write

Qualifiers: none

Verbosity of state messages sent for this deployment.

Value Message verbosity
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: UInt32

Access type: Read/Write

Qualifiers: [not_null, bits]

See SMS_CIAssignmentBaseClass Server WMI Class.

TargetCollectionID
Data type: String

Access type: Read/Write

Qualifiers: [not_null]

See SMS_CIAssignmentBaseClass Server WMI Class.

UseBranchCache
Data type: Boolean

Access type: Read/Write

Qualifiers: [not_null]

Use branch cache. The default value is true.

UseGMTTimes
Data type: Boolean

Access type: Read/Write

Qualifiers: [not_null]

See SMS_CIAssignmentBaseClass Server WMI Class.

UserUIExperience
Data type: Boolean

Access 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: Boolean

Access type: Read/Write

Qualifiers: None

See 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

About software update deployments