Редагувати

Поділитися через


SMS_TaskSequence Server WMI Class

The SMS_TaskSequence Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents an operating system deployment task sequence.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Syntax

Class SMS_TaskSequence  
{  
      String SchemaVersion;  
      SMS_TaskSequence_Step Steps[];  
};  

Methods

The following table shows the methods in SMS_TaskSequence.

Method Description
ExportXml Method in Class SMS_TaskSequence Exports task sequence XML in a format that is suitable to use on another site.
LoadFromXml Method in Class SMS_TaskSequence Loads a task sequence into WMI objects from XML.
SaveToXml Method in Class SMS_TaskSequence Serializes a task sequence from WMI objects to XML.

Properties

SchemaVersion
Data type: String

Access type: Read/Write

Qualifiers: None

The version of the task sequence schema. The default version number is 3.00.

Although this property is designated as read/write in WMI, your application should not change it. The schema version must match the version that is detected by the client, or the client does not run the task sequence.

Steps
Data type: SMS_TaskSequence_Step Array

Access type: Read/Write

Qualifiers: None

SMS_TaskSequence_Step Server WMI Class objects representing steps and conditions in the task sequence.

Remarks

Class qualifiers for this class include:

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

SMS_TaskSequence_ConditionExpression Server WMI Class
SMS_TaskSequence_Group Server WMI Class
SMS_TaskSequence_Step Server WMI Class
SMS_TaskSequencePackage Server WMI Class