CCM_Application Client WMI Class

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.

Syntax

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

The following table lists the methods in the CCM_Application class.

Properties

AllowedActions
Data type: String Array

Access type: Read/Write

Qualifiers: none

Allowed actions.

AppDTs
Data type: CCM_AppDeploymentType Array

Access type: Read/Write

Qualifiers: [lazy]

Application deployment types.

ApplicabilityState
Data type: String

Access type: Read/Write

Qualifiers: [values]

Applicability state. Possible values are:

Value
Unknown
Applicable
Not Applicable

ConfigureState
Data type: String

Access type: Read/Write

Qualifiers: [values]

Configure state. Possible values are:

Value
NotNeeded
NotConfigured
Configured

ContentSize
Data type: UInt32

Access type: Read/Write

Qualifiers: none

Content size.

Deadline
Data type: DateTime

Access type: Read/Write

Qualifiers: none

Deadline.

DeploymentReport
Data type: String

Access type: Read/Write

Qualifiers: [lazy]

Deployment report.

Description
Data type: String

Access type: Read/Write

Qualifiers: none

Application description.

EnforcePreference
Data type: UInt32

Access type: Read/Write

Qualifiers: [values]

Enforce preference. Possible values are:

Value Enforce preference
0 Immediate
1 NonBusinessHours
2 AdminSchedule

ErrorCode
Data type: UInt32

Access type: Read/Write

Qualifiers: none

Error code.

EstimatedInstallTime
Data type: UInt32

Access type: Read/Write

Qualifiers: none

Estimated installation time.

EvaluationState
Data type: UInt32

Access type: Read/Write

Qualifiers: none

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

Access type: Read/Write

Qualifiers: none

File types.

FullName
Data type: String

Access type: Read/Write

Qualifiers: none

FullName

Icon
Data type: String

Access type: Read/Write

Qualifiers: none

Icon.

Id
Data type: String

Access type: Read/Write

Qualifiers: [key]

Application identifier.

InformativeUrl
Data type: String

Access type: Read/Write

Qualifiers: none

Informative url.

InProgressActions
Data type: String Array

Access type: Read/Write

Qualifiers: none

In progress actions.

InstallState
Data type: String

Access type: Read/Write

Qualifiers: [values]

Installation state. Possible values are:

Value
NotInstalled
Unknown
Error
Installed
NotEvaluated
NotUpdated
NotConfigured

IsMachineTarget
Data type: Boolean

Access type: Read/Write

Qualifiers: [key]

true if this is a device targeted application.

IsPreflightOnly
Data type: Boolean

Access type: Read/Write

Qualifiers: none

true if this is a simulated deployment.

LastEvalTime
Data type: DateTime

Access type: Read/Write

Qualifiers: none

Last evaluation time.

LastInstallTime
Data type: DateTime

Access type: Read/Write

Qualifiers: none

Last install time.

Name
Data type: String

Access type: Read/Write

Qualifiers: none

Name of application.

NextUserScheduledTime
Data type: DateTime

Access type: Read/Write

Qualifiers: none

Next user scheduled time.

NotifyUser
Data type: Boolean

Access type: Read/Write

Qualifiers: none

Notify user.

OverrideServiceWindow
Data type: Boolean

Access type: Read/Write

Qualifiers: none

true if service windows should be overridden.

PercentComplete
Data type: UInt32

Access type: Read/Write

Qualifiers: none

Percent complete.

Publisher
Data type: String

Access type: Read/Write

Qualifiers: none

Publisher.

RebootOutsideServiceWindow
Data type: Boolean

Access type: Read/Write

Qualifiers: none

True if application should reboot outside service windows.

ReleaseDate
Data type: DateTime

Access type: Read/Write

Qualifiers: none

Release date.

ResolvedState
Data type: String

Access type: Read/Write

Qualifiers: [values]

Resolved state.

Value
None
NotInstalled
Installed
Unknown
Any

Revision
Data type: String

Access type: Read/Write

Qualifiers: [key]

Revision

SoftwareVersion
Data type: String

Access type: Read/Write

Qualifiers: none

Software version.

StartTime
Data type: DateTime

Access type: Read/Write

Qualifiers: none

Start time.

SupersessionState
Data type: String

Access type: Read/Write

Qualifiers: [values]

Supersession state. Possible values are:

Value
Unknown
None
Superseded
Superseding

Type
Data type: UInt32

Access type: Read/Write

Qualifiers: none

Type.

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.

Remarks

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.