SMS_Application Server WMI Class
Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager
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;
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 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 |
---|---|
Gets the configuration item document body. |
|
Gets all of the configuration item documents for the application installation. |
|
Restores this application and related deployment type as a current active application. |
|
Sets the expired status of this application. |
|
Updates the statistics for this application. |
Properties
ApplicabilityCondition
Data type: StringAccess type: Read/Write
Qualifiers: [not_null, sizelimit]
CategoryInstance_UniqueIDs
Data type: String ArrayAccess type: Read/Write
Qualifiers: none
CI_ID
Data type: UInt32Access type: Read/Write
Qualifiers: [key, key]
CI_UniqueID
Data type: StringAccess type: Read/Write
Qualifiers: [not_null, unique]
CIType_ID
Data type: UInt32Access type: Read-only
Qualifiers: [enumeration, not_null, read]
CIVersion
Data type: UInt32Access type: Read-only
Qualifiers: [not_null, read]
CreatedBy
Data type: StringAccess type: Read-only
Qualifiers: [not_null, read, sizelimit]
DateCreated
Data type: DateTimeAccess type: Read-only
Qualifiers: [not_null, read]
DateLastModified
Data type: DateTimeAccess type: Read-only
Qualifiers: [read]
EffectiveDate
Data type: DateTimeAccess type: Read-only
Qualifiers: [read]
EULAAccepted
Data type: UInt32Access type: Read-only
Qualifiers: [read]
EULAExists
Data type: BooleanAccess type: Read-only
Qualifiers: [read]
EULASignoffDate
Data type: DateTimeAccess type: Read-only
Qualifiers: [read]
EULASignoffUser
Data type: StringAccess type: Read-only
Qualifiers: [read]
ExecutionContext
Data type: UInt32Access 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.
0
System
1
User
Featured
Data type: UInt32Access 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: BooleanAccess type: Read-only
Qualifiers: [read]
true if this application has content; otherwise, false.
IsBundle
Data type: BooleanAccess type: Read/Write
Qualifiers: [not_null]
IsDeployable
Data type: BooleanAccess 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: BooleanAccess 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: BooleanAccess type: Read-only
Qualifiers: [read]
IsEnabled
Data type: BooleanAccess type: Read/Write
Qualifiers: [not_null]
IsExpired
Data type: BooleanAccess type: Read/Write
Qualifiers: [not_null]
IsHidden
Data type: BooleanAccess type: Read/Write
Qualifiers: [not_null]
IsLatest
Data type: BooleanAccess type: Read-only
Qualifiers: [read]
IsQuarantined
Data type: BooleanAccess type: Read-only
Qualifiers: [read]
IsSuperseded
Data type: BooleanAccess type: Read-only
Qualifiers: [not_null, read]
IsSuperseding
Data type: BooleanAccess type: Read-only
Qualifiers: [read]
IsUserDefined
Data type: BooleanAccess type: Read/Write
Qualifiers: [not_null]
LastModifiedBy
Data type: StringAccess type: Read-only
Qualifiers: [not_null, read, sizelimit]
LocalizedCategoryInstanceNames
Data type: String ArrayAccess type: Read-only
Qualifiers: [read]
LocalizedDescription
Data type: StringAccess type: Read-only
Qualifiers: [read]
LocalizedDisplayName
Data type: StringAccess type: Read-only
Qualifiers: [read]
LocalizedInformativeURL
Data type: StringAccess type: Read-only
Qualifiers: [read]
LocalizedPropertyLocaleID
Data type: UInt32Access type: Read-only
Qualifiers: [read]
LogonRequirement
Data type: UInt32Access type: Read-only
Qualifiers: [enumeration, read]
Requirement for user logon to setup. Possible values are:
0
Others
1
LogonRequired
Manufacturer
Data type: StringAccess type: Read-only
Qualifiers: [read]
Manufacturer of the application.
ModelName
Data type: StringAccess type: Read/Write
Qualifiers: [not_null]
ModelID
Data type: UInt32Access type: Read/Write
Qualifiers: [not_null]
NumberOfDependentDTs
Data type: UInt32Access type: Read-only
Qualifiers: [read]
Number of deployment types that depend on this application.
NumberOfDependentTS
Data type: UInt32Access type: Read-only
Qualifiers: [read]
NumberOfDeployments
Data type: UInt32Access type: Read-only
Qualifiers: [read]
Number of deployments.
NumberOfDeploymentTypes
Data type: UInt32Access type: Read-only
Qualifiers: [read]
Number of deployment types.
NumberOfDevicesWithApp
Data type: UInt32Access type: Read-only
Qualifiers: [read]
Number of devices with this application installed.
NumberOfDevicesWithFailure
Data type: UInt32Access type: Read-only
Qualifiers: [read]
Number of devices that failed to install this application.
NumberOfUsersWithApp
Data type: UInt32Access type: Read-only
Qualifiers: [read]
Number of users with this application installed.
NumberOfUsersWithFailure
Data type: UInt32Access type: Read-only
Qualifiers: [read]
Number of users that failed to install this application.
NumberOfUsersWithRequest
Data type: UInt32Access type: Read-only
Qualifiers: [read]
Number of users that requested this application.
NumberOfVirtualEnvironments
Data type: UInt32Access 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: StringAccess 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: UInt32Access type: Read/Write
Qualifiers: [not_null]
PlatformCategoryInstance_UniqueIDs
Data type: String ArrayAccess type: Read/Write
Qualifiers: none
PlatformType
Data type: UInt32Access type: Read-only
Qualifiers: [bitmap, bitvalues, read]
SDMPackageLocalizedData
Data type: SMS_SDMPackageLocalizedData ArrayAccess type: Read/Write
Qualifiers: [lazy]
SDMPackageVersion
Data type: UInt32Access type: Read/Write
Qualifiers: [not_null]
SDMPackageXML
Data type: StringAccess type: Read/Write
Qualifiers: [lazy]
Digest XML that defines the application.
SecuredScopeNames
Data type: String ArrayAccess type: Read-only
Qualifiers: [read]
SedoObjectVersion
Data type: StringAccess type: Read-only
Qualifiers: [read]
SoftwareVersion
Data type: StringAccess type: Read-only
Qualifiers: [read]
Software version description
SourceCIVersion
Data type: UInt32Access type: Read-only
Qualifiers: [read]
Source application version if the application is imported.
SourceModelName
Data type: StringAccess type: Read-only
Qualifiers: [read]
Source application model name if the application is imported.
SourceSite
Data type: StringAccess type: Read/Write
Qualifiers: [sizelimit]
SummarizationTime
Data type: DateTimeAccess 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.
See Also
Configuration Manager Application Management Server WMI Classes