Compartilhar via


MDM_AppInstallJob class

[The MDM Application Provider is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use the EnterpriseAppManagement Configuration Service Provider (CSP).]

Represents a job that manages the installation, upgrade, or uninstallation of an application on a device that is registered with the Mobile Device Management (MDM) service.

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

Syntax

[ClassVersion("1.0.0"), Deprecated("No value"), dynamic, provider("MDMAppProv"), AMENDMENT]
class MDM_AppInstallJob
{
  string   JobID;
  string   PackageFullName;
  uint32   Status;
  uint32   LastError;
  uint32   Progress;
  datetime CreationTime;
  string   DownloadUrlList[];
  string   Dependencies[];
  string   DependencyUrlLists[];
  string   LicenseXml;
  uint32   ActionType;
  uint32   JobType;
  uint32   DeploymentOptions;
};

Members

The MDM_AppInstallJob class has these types of members:

Methods

The MDM_AppInstallJob class has these methods.

Method Description
CreateJob Creates a job to manage the installation, upgrade, or uninstallation of an application on a device.

Properties

The MDM_AppInstallJob class has these properties.

ActionType

Data type: uint32

Access type: Read-only

Gets the action type for the job, which specifies that the job is for an install, uninstall, or upgrade operation.

CreationTime

Data type: datetime

Access type: Read-only

Date and time that specifies when the job was created.

Dependencies

Data type: string array

Access type: Read-only

Array of dependent frameworks for the application.

DependencyUrlLists

Data type: string array

Access type: Read-only

Array of URLs used to download application framework data.

DeploymentOptions

Data type: uint32

Access type: Read-only

Gets the deployment options for a Windows Store App.

DownloadUrlList

Data type: string array

Access type: Read-only

Array of URLs used to download installation data.

JobID

Data type: string

Access type: Read-only

Qualifiers: key

Key that specifies the unique ID of the application installation, upgrade, or uninstallation.

JobType

Data type: uint32

Access type: Read-only

Gets the application type, which specifies that the job is for a Windows Store App, web application, or remote application.

Windows 8: This property is not supported before Windows 8.1.

LastError

Data type: uint32

Access type: Read-only

Last error code for the job.

LicenseXml

Data type: string

Access type: Read-only

The package license.

Windows 8.1 and Windows 8: This property is not supported before Windows 8.1 Update.

PackageFullName

Data type: string

Access type: Read-only

Full name of the package that contains the application.

Progress

Data type: uint32

Access type: Read-only

Progress of the job.

Status

Data type: uint32

Access type: Read-only

Status of the job.

Requirements

Minimum supported client
Windows 8
Minimum supported server
None supported
Namespace
Root\cimv2\mdm
MOF
MDMAppProv.Mof
DLL
MDMAppProv.dll

See also

Mobile Device Management Application Provider Classes