The SMS_SCI_MaintenanceTask Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a site control item maintenance task.

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

Class SMS_SCI_MaintenanceTask : SMS_SiteControlItem 
{
	 String BackupLocation;
	 DateTime BeginTime;
	 UInt32 DaysOfWeek;
	 Boolean Enabled;
	 UInt32 FileType;
	 String ItemName;
	 String ItemType;
	 DateTime LatestBeginTime;
	 UInt32 NumRefreshDays;
	 String SiteCode;
	 String TaskName;
	 UInt32 TaskType;
};

Methods

The SMS_SCI_MaintenanceTask class does not define any methods.

Properties

BackupLocation

Data type: StringAccess type: Read/WriteQualifiers: NoneThe location of the backup for the maintenance task.
BeginTime

Data type: DateTimeAccess type: Read/WriteQualifiers: NoneBeginning time for execution of the maintenance task. The default value is "00000000000000.000000+***". Only the hours and minutes of this property are used.
DaysOfWeek

Data type: UInt32Access type: Read/WriteQualifiers: [bits]Days of the week on which the maintenance task executes. Possible values are listed below. The default value is SUNDAY (0).

0

SUNDAY

1

MONDAY

2

TUESDAY

3

WEDNESDAY

4

THURSDAY

5

FRIDAY

6

SATURDAY

Enabled

Data type: BooleanAccess type: Read/WriteQualifiers: Nonetrue if the maintenance task is activated.
FileType

Data type: UInt32Access type: Read/Write Qualifiers: [key, enumeration:ToSubClass] See SMS_SiteControlItem Server WMI Class.
ItemName

Data type: StringAccess type: Read-onlyQualifiers: [key, read]See SMS_SiteControlItem Server WMI Class.
ItemType

Data type: StringAccess type: Read-onlyQualifiers: [key, read]See SMS_SiteControlItem Server WMI Class.
LatestBeginTime

Data type: DateTimeAccess type: Read/WriteQualifiers: NoneLatest beginning time of execution for the maintenance task. The default value is "00000000000000.000000+***". Only the hours and minutes of this property are used.
NumRefreshDays

Data type: UInt32Access type: Read/WriteQualifiers: NoneNumber of days between maintenance task executions. The default value is 0.
SiteCode

Data type: StringAccess type: Read/Write Qualifiers: [key, SizeLimit("3")]See SMS_SiteControlItem Server WMI Class.
TaskName

Data type: StringAccess type: Read/WriteQualifiers: NoneName of the maintenance task.
TaskType

Data type: UInt32Access type: Read/WriteQualifiers: [enumeration]Type of maintenance task. Currently the only possible value is BACKUP (1).

Remarks

There are no special class qualifiers for this class. For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

Requirements

Runtime Requirements

Development Requirements

See Also