SMS_Application Server WMI Class

The SMS_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 SMS_Application : SMS_ConfigurationItemBaseClass  
{  
    String ApplicabilityCondition;  
    String CategoryInstance_UniqueIDs[];  
    UInt32 CI_ID;  
    String CI_UniqueID;  
    UInt32 CIType_ID;  
    UInt32 CIVersion;  
    UInt64 ConfigurationFlags;  
    String CreatedBy;  
    DateTime DateCreated;  
    DateTime DateLastModified;  
    DateTime EffectiveDate;  
    UInt32 EULAAccepted;  
    Boolean EULAExists;  
    DateTime EULASignoffDate;  
    String EULASignoffUser;  
    UInt32 ExecutionContext;  
    UInt32 Featured;  
    Boolean HasContent;  
    Boolean IsBundle;  
    Boolean IsDeployable;  
    Boolean IsDeployed;  
    Boolean IsDigest;  
    Boolean IsEnabled;  
    Boolean IsExpired;  
    Boolean IsHidden;  
    Boolean IsLatest;  
    Boolean IsQuarantined;  
    Boolean IsSuperseded;  
    Boolean IsSuperseding;  
    Boolean IsUserDefined;  
    String LastModifiedBy;  
    String LocalizedCategoryInstanceNames[];  
    String LocalizedDescription;  
    String LocalizedDisplayName;  
    String LocalizedInformativeURL;  
    UInt32 LocalizedPropertyLocaleID;  
    UInt32 LogonRequirement;  
    String Manufacturer;  
    String ModelName;  
    UInt32 ModelID;   
    UInt32 NumberOfDependentDTs;  
    UInt32 NumberOfDependentTS;  
    UInt32 NumberOfDeployments;  
    UInt32 NumberOfDeploymentTypes;  
    UInt32 NumberOfDevicesWithApp;  
    UInt32 NumberOfDevicesWithFailure;  
    UInt32 NumberOfSettings;  
    UInt32 NumberOfUsersWithApp;  
    UInt32 NumberOfUsersWithFailure;  
    UInt32 NumberOfUsersWithRequest;  
    UInt32 NumberOfVirtualEnvironments;  
    String PackageID;  
    UInt32 PermittedUses;  
    String PlatformCategoryInstance_UniqueIDs[];  
    UInt32 PlatformType;  
    SMS_SDMPackageLocalizedData SDMPackageLocalizedData[];  
    UInt32 SDMPackageVersion;  
    String SDMPackageXML;  
    String SecuredScopeNames[];  
    String SedoObjectVersion;  
    String SoftwareVersion;  
    UInt32 SourceCIVersion;  
    String SourceModelName;  
    String SourceSite;  
    DateTime SummarizationTime;  
};  

Methods

The following table lists the methods in the SMS_Application class.

Method Description
GetCIDocumentBody Method in Class SMS_Application Gets the configuration item document body.
GetCIDocuments Method in Class SMS_Application Gets all of the configuration item documents for the application installation.
InitiateUserInstall Method in Class SMS_Application Warning: This method is reserved for future use.
ManageDeploymentForDevice Method in Class SMS_Application Warning: This method is reserved for future use.
Restore Method in Class SMS_Application Restores this application and related deployment type as a current active application.
SetIsExpired Method in Class SMS_Application Sets the expired status of this application.
UpdateStats Method in Class SMS_Application Updates the statistics for this application.

Properties

ApplicabilityCondition
Data type: String

Access type: Read/Write

Qualifiers: [not_null, sizelimit]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

CategoryInstance_UniqueIDs
Data type: String Array

Access type: Read/Write

Qualifiers: none

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

CI_ID
Data type: UInt32

Access type: Read/Write

Qualifiers: [key, key]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

CI_UniqueID
Data type: String

Access type: Read/Write

Qualifiers: [not_null, unique]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

CIType_ID
Data type: UInt32

Access type: Read-only

Qualifiers: [enumeration, not_null, read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

CIVersion
Data type: UInt32

Access type: Read-only

Qualifiers: [not_null, read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

ConfigurationFlags
Data type: UInt64

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

CreatedBy
Data type: String

Access type: Read-only

Qualifiers: [not_null, read, sizelimit]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

DateCreated
Data type: DateTime

Access type: Read-only

Qualifiers: [not_null, read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

DateLastModified
Data type: DateTime

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

EffectiveDate
Data type: DateTime

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

EULAAccepted
Data type: UInt32

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

EULAExists
Data type: Boolean

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

EULASignoffDate
Data type: DateTime

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

EULASignoffUser
Data type: String

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

ExecutionContext
Data type: UInt32

Access type: Read-only

Qualifiers: [read, valuemap, values]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

If any of the contained deployment type of dependent deployment types is user context, this application is user context.

Value Execution context
0 System
1 User

Featured
Data type: UInt32

Access type: Read-only

Qualifiers: [read]

If the application is marked as a featured application, this will be 1. The default value is 0.

HasContent
Data type: Boolean

Access type: Read-only

Qualifiers: [read]

true if this application has content; otherwise, false.

IsBundle
Data type: Boolean

Access type: Read/Write

Qualifiers: [not_null]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

IsDeployable
Data type: Boolean

Access type: Read-only

Qualifiers: [read]

true if the application can be deployed; otherwise, false. The application can be deployed if it contains an enabled deployment type.

IsDeployed
Data type: Boolean

Access type: Read-only

Qualifiers: [read]

true if the application has been deployed to client; otherwise, false. An application is deployed if there is assignment that assigns this application to any collection.

IsDigest
Data type: Boolean

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

IsEnabled
Data type: Boolean

Access type: Read/Write

Qualifiers: [not_null]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

IsExpired
Data type: Boolean

Access type: Read/Write

Qualifiers: [not_null]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

IsHidden
Data type: Boolean

Access type: Read/Write

Qualifiers: [not_null]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

IsLatest
Data type: Boolean

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

IsQuarantined
Data type: Boolean

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

IsSuperseded
Data type: Boolean

Access type: Read-only

Qualifiers: [not_null, read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class..

IsSuperseding
Data type: Boolean

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

IsUserDefined
Data type: Boolean

Access type: Read/Write

Qualifiers: [not_null]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

LastModifiedBy
Data type: String

Access type: Read-only

Qualifiers: [not_null, read, sizelimit]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

LocalizedCategoryInstanceNames
Data type: String Array

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

LocalizedDescription
Data type: String

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

LocalizedDisplayName
Data type: String

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

LocalizedInformativeURL
Data type: String

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

LocalizedPropertyLocaleID
Data type: UInt32

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

LogonRequirement
Data type: UInt32

Access type: Read-only

Qualifiers: [enumeration, read]

Requirement for user logon to setup. Possible values are:

Value Logon required?
0 Others
1 LogonRequired

Manufacturer
Data type: String

Access type: Read-only

Qualifiers: [read]

Manufacturer of the application.

ModelName
Data type: String

Access type: Read/Write

Qualifiers: [not_null]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

ModelID
Data type: UInt32

Access type: Read/Write

Qualifiers: [not_null]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

NumberOfDependentDTs
Data type: UInt32

Access type: Read-only

Qualifiers: [read]

Number of deployment types that depend on this application.

NumberOfDependentTS
Data type: UInt32

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

NumberOfDeployments
Data type: UInt32

Access type: Read-only

Qualifiers: [read]

Number of deployments.

NumberOfDeploymentTypes
Data type: UInt32

Access type: Read-only

Qualifiers: [read]

Number of deployment types.

NumberOfDevicesWithApp
Data type: UInt32

Access type: Read-only

Qualifiers: [read]

Number of devices with this application installed.

NumberOfDevicesWithFailure
Data type: UInt32

Access type: Read-only

Qualifiers: [read]

Number of devices that failed to install this application.

NumberOfSettings
Data type: UInt32

Access type: Read-only

Qualifiers: [read]

Number of settings that refer to the deployment types for this application.

NumberOfUsersWithApp
Data type: UInt32

Access type: Read-only

Qualifiers: [read]

Number of users with this application installed.

NumberOfUsersWithFailure
Data type: UInt32

Access type: Read-only

Qualifiers: [read]

Number of users that failed to install this application.

NumberOfUsersWithRequest
Data type: UInt32

Access type: Read-only

Qualifiers: [read]

Number of users that requested this application.

NumberOfVirtualEnvironments
Data type: UInt32

Access type: Read-only

Qualifiers: [read]

Number of virtual environments which refer to the deployment types of this application.

This information applies to System Center 2012 Configuration Manager SP1 or later, and System Center 2012 R2 Configuration Manager or later.

PackageID
Data type: String

Access type: Read/Write

Qualifiers: [lazy]

The package identifier of the content. A unique key, that the user can set, otherwise the system will generate a default identifier. A reference to the same package identifier is in the SMS_CIContentPackage class.

This information applies to System Center 2012 Configuration Manager SP1 or later, and System Center 2012 R2 Configuration Manager or later.

PermittedUses
Data type: UInt32

Access type: Read/Write

Qualifiers: [not_null]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

PlatformCategoryInstance_UniqueIDs
Data type: String Array

Access type: Read/Write

Qualifiers: none

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

PlatformType
Data type: UInt32

Access type: Read-only

Qualifiers: [bitmap, bitvalues, read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

SDMPackageLocalizedData
Data type: SMS_SDMPackageLocalizedData Array

Access type: Read/Write

Qualifiers: [lazy]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

SDMPackageVersion
Data type: UInt32

Access type: Read/Write

Qualifiers: [not_null]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

SDMPackageXML
Data type: String

Access type: Read/Write

Qualifiers: [lazy]

Digest XML that defines the application.

SecuredScopeNames
Data type: String Array

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

SedoObjectVersion
Data type: String

Access type: Read-only

Qualifiers: [read]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

SoftwareVersion
Data type: String

Access type: Read-only

Qualifiers: [read]

Software version description

SourceCIVersion
Data type: UInt32

Access type: Read-only

Qualifiers: [read]

Source application version if the application is imported.

SourceModelName
Data type: String

Access type: Read-only

Qualifiers: [read]

Source application model name if the application is imported.

SourceSite
Data type: String

Access type: Read/Write

Qualifiers: [sizelimit]

See SMS_ConfigurationItemLatestBaseClass Server WMI Class.

SummarizationTime
Data type: DateTime

Access type: Read-only

Qualifiers: [read]

Last time the summarization task was run for this application.

Remarks

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.