Muokkaa

Jaa


SMS_BaselineAssignment Server WMI Class

The SMS_BaselineAssignment Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that contains information about how a baseline is targeted.

Syntax

Class SMS_BaselineAssignment : SMS_CIAssignmentBaseClass  
{  
      Boolean ApplyToSubTargets;  
      String AssignedCI_UniqueID;  
      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;   
      Boolean EnforcementEnabled;  
      String EvaluationSchedule;  
      DateTime ExpirationTime;  
      DateTime LastModificationTime;   
      String LastModifiedBy;  
      UInt32 LocaleID;  
      Boolean LogComplianceToWinEvent;  
      SInt32 NonComplianceCriticality;  
      Boolean NotifyUser;  
      Boolean OverrideServiceWindows;  
      SInt32 ParentAssignmentID;  
      Boolean RaiseMomAlertsOnFailure;  
      UInt32 RandomizationMinutes;  
      Boolean RebootOutsideOfServiceWindows;  
      Boolean SendDetailedNonComplianceStatus;  
      String SourceSite;  
      DateTime StartTime;   
      UInt32 StateMessagePriority;  
      UInt32 SuppressReboot;  
      String TargetCollectionID;  
      Boolean UseGMTTimes;  
      Boolean WoLEnabled;  
};  

Methods

The SMS_BaselineAssignment class does not define any methods.

Properties

ApplyToSubTargets
Data type: Boolean

Access type: Read/Write

Qualifiers: [not_null]

See SMS_CIAssignmentBaseClass Server WMI Class.

AssignedCI_UniqueID
Data type: String

Access type: Read-only

Qualifiers: [read, not_null]

Unique identifier of the assigned baseline configuration item.

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.

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/Write

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.

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.

Enabled
Data type: Boolean

Access type: Read/Write

Qualifiers: [not_null]

See SMS_CIAssignmentBaseClass Server WMI Class.

EnforcementDeadline
Data type: DateTime

Access type: Read/Write

Qualifiers: [not_null, bits]

See SMS_CIAssignmentBaseClass Server WMI Class.

EnforcementEnabled
Data type: Boolean

Access type: Read/Write

Qualifiers: none

true if enforcement is enabled.

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/Write

Qualifiers: none

See SMS_CIAssignmentBaseClass Server WMI Class.

LocaleID
Data type: UInt32

Access type: Read-only

Qualifiers: [read, not_null]

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.

ParentAssignmentID
Data type: SInt32

Access type: Read-only

Qualifiers: [read]

ParentAssignmentID

RaiseMomAlertsOnFailure
Data type: Boolean

Access type: Read/Write

Qualifiers: None

See SMS_CIAssignmentBaseClass Server WMI Class.

RandomizationMinutes
Data type: UInt32

Access type: Read/Write

Qualifiers: none

Random time in minutes that is used when evaluating an assignment automatically once it arrives at the client. The random evaluation interval distributes the processing load when multiple assignments arrive at the client at same time.

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: [valuemap, values]

See SMS_CIAssignmentBaseClass Server WMI Class.

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.

UseGMTTimes
Data type: Boolean

Access type: Read/Write

Qualifiers: [not_null]

See SMS_CIAssignmentBaseClass Server WMI Class.

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.

    This class is used to define an assignment for a configuration baseline, which is a configuration item that contains other configuration items with associated rules. The baseline is assigned to computers through collections, together with a compliance evaluation schedule.

    Your application can create a baseline as an SMS_ConfigurationBaselineInfo Server WMI Class object with the CIType_ID property set to Baseline (2). The types of configuration items that can be included in the baseline are:

  • OperatingSystem (3)

  • BusinessPolicy (4)

  • Application (5)

  • OtherConfigurationItem (7)

    The baseline can reference configuration items of type SoftwareUpdate (1) and SoftwareUpdateBundle (2).

    The SMS_ConfigurationBaselineInfo Server WMI Class object defines an IsBundle property. When building a baseline, this property of each contained configuration item is set to true to indicate that the configuration item is part of a bundle.

    For information on the use of this class, see How to List Configuration Assignments and How to Assign Configuration Baselines.

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 Compliance Settings (DCM) Server WMI Classes
SMS_CIAssignmentBaseClass Server WMI Class
SMS_ConfigurationItemBaseClass Server WMI Class