The CCM_Application Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents an application.  

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

Class CCM_Application : CCM_SoftwareBase
{
	String AllowedActions[];
	Object AppDTs[];
	String ApplicabilityState;
	String ConfigureState;
	UInt32 ContentSize;
	DateTime Deadline;
	String DeploymentReport;
	String Description;
	UInt32 EnforcePreference;
	UInt32 ErrorCode;
	UInt32 EstimatedInstallTime;
	UInt32 EvaluationState;
	String FileTypes;
	String FullName;
	String Icon;
	String Id;
	String InformativeUrl;
	String InProgressActions[];
	String InstallState;
	Boolean IsMachineTarget;
	Boolean IsPreflightOnly;
	DateTime LastEvalTime;
	DateTime LastInstallTime;
	String Name;
	DateTime NextUserScheduledTime;
	Boolean NotifyUser;
	Boolean OverrideServiceWindow;
	UInt32 PercentComplete;
	String Publisher;
	Boolean RebootOutsideServiceWindow;
	DateTime ReleaseDate;
	String ResolvedState;
	String Revision;
	String SoftwareVersion;
	DateTime StartTime;
	String SupersessionState;
	UInt32 Type;
	Boolean UserUIExperience;
};

Methods

Properties

AllowedActions

Data type: String ArrayAccess type: Read/Write Qualifiers: noneAllowed actions.  
AppDTs

Data type: CCM_AppDeploymentType ArrayAccess type: Read/Write Qualifiers: [lazy]Application deployment types.  
ApplicabilityState

Data type: StringAccess type: Read/Write Qualifiers: [values]Applicability state. Possible values are:  

Unknown

Applicable

Not Applicable

ConfigureState

Data type: StringAccess type: Read/Write Qualifiers: [values]Configure state. Possible values are:  

NotNeeded

NotConfigured

Configured

ContentSize

Data type: UInt32Access type: Read/Write Qualifiers: noneContent size.  
Deadline

Data type: DateTimeAccess type: Read/Write Qualifiers: noneDeadline.  
DeploymentReport

Data type: StringAccess type: Read/Write Qualifiers: [lazy]Deployment report.  
Description

Data type: StringAccess type: Read/Write Qualifiers: noneApplication description.  
EnforcePreference

Data type: UInt32Access type: Read/Write Qualifiers: [values]Enforce preference. Possible values are:  

0

Immediate

1

NonBusinessHours

2

AdminSchedule

ErrorCode

Data type: UInt32Access type: Read/Write Qualifiers: noneError code.  
EstimatedInstallTime

Data type: UInt32Access type: Read/Write Qualifiers: noneEstimated installation time.  
EvaluationState

Data type: UInt32Access type: Read/Write Qualifiers: noneEvaluation state. Possible values are:

Evaluation State Value Description

0

No state information is available.

1

Application is enforced to desired/resolved state.

2

Application is not required on the client.

3

Application is available for enforcement (install or uninstall based on resolved state). Content may/may not have been downloaded.

4

Application last failed to enforce (install/uninstall).

5

Application is currently waiting for content download to complete.

6

Application is currently waiting for content download to complete.

7

Application is currently waiting for its dependencies to download.

8

Application is currently waiting for a service (maintenance) window.

9

Application is currently waiting for a previously pending reboot.

10

Application is currently waiting for serialized enforcement.

11

Application is currently enforcing dependencies.

12

Application is currently enforcing.

13

Application install/uninstall enforced and soft reboot is pending.

14

Application installed/uninstalled and hard reboot is pending.

15

Update is available but pending installation.

16

Application failed to evaluate.

17

Application is currently waiting for an active user session to enforce.

18

Application is currently waiting for all users to logoff.

19

Application is currently waiting for a user logon.

20

Application in progress, waiting for retry.

21

Application is waiting for presentation mode to be switched off.

22

Application is pre-downloading content (downloading outside of install job).

23

Application is pre-downloading dependent content (downloading outside of install job).

24

Application download failed (downloading during install job).

25

Application pre-downloading failed (downloading outside of install job).

26

Download success (downloading during install job).

27

Post-enforce evaluation.

28

Waiting for network connectivity.

FileTypes

Data type: StringAccess type: Read/Write Qualifiers: noneFile types.  
FullName

Data type: StringAccess type: Read/Write Qualifiers: noneFullName  
Icon

Data type: StringAccess type: Read/Write Qualifiers: noneIcon.  
Id

Data type: StringAccess type: Read/Write Qualifiers: [key]Application identifier.  
InformativeUrl

Data type: StringAccess type: Read/Write Qualifiers: noneInformative url.  
InProgressActions

Data type: String Array Access type: Read/Write Qualifiers: noneIn progress actions.  
InstallState

Data type: StringAccess type: Read/Write Qualifiers: [values]Installation state. Possible values are:  

NotInstalled

Unknown

Error

Installed

NotEvaluated

NotUpdated

NotConfigured

IsMachineTarget

Data type: BooleanAccess type: Read/Write Qualifiers: [key]true if this is a device targeted application.  
IsPreflightOnly

Data type: BooleanAccess type: Read/Write Qualifiers: nonetrue if this is a simulated deployment.  
LastEvalTime

Data type: DateTimeAccess type: Read/Write Qualifiers: noneLast evaluation time.  
LastInstallTime

Data type: DateTimeAccess type: Read/Write Qualifiers: noneLast install time.  
Name

Data type: StringAccess type: Read/Write Qualifiers: noneName of application.  
NextUserScheduledTime

Data type: DateTimeAccess type: Read/Write Qualifiers: noneNext user scheduled time.  
NotifyUser

Data type: BooleanAccess type: Read/Write Qualifiers: noneNotify user.  
OverrideServiceWindow

Data type: BooleanAccess type: Read/Write Qualifiers: nonetrue if service windows should be overridden.  
PercentComplete

Data type: UInt32Access type: Read/Write Qualifiers: nonePercent complete.  
Publisher

Data type: StringAccess type: Read/Write Qualifiers: nonePublisher.  
RebootOutsideServiceWindow

Data type: BooleanAccess type: Read/Write Qualifiers: noneTrue if application should reboot outside service windows.  
ReleaseDate

Data type: DateTimeAccess type: Read/Write Qualifiers: noneRelease date.  
ResolvedState

Data type: StringAccess type: Read/Write Qualifiers: [values]Resolved state.  

None

NotInstalled

Installed

Unknown

Any

Revision

Data type: StringAccess type: Read/Write Qualifiers: [key]Revision  
SoftwareVersion

Data type: StringAccess type: Read/Write Qualifiers: noneSoftware version.  
StartTime

Data type: DateTimeAccess type: Read/Write Qualifiers: noneStart time.  
SupersessionState

Data type: StringAccess type: Read/Write Qualifiers: [values]Supersession state. Possible values are:  

Unknown

None

Superseded

Superseding

Type

Data type: UInt32Access type: Read/Write Qualifiers: noneType.  
UserUIExperience

Data type: BooleanAccess type: Read/Write Qualifiers: nonetrue to show a reboot notification. When set to false, no reboot notification will be shown.  

Remarks

Requirements

Runtime Requirements

Development Requirements

See Also