MDM_EnterpriseModernAppManagement_StoreLicenses02_01 class

The MDM_EnterpriseModernAppManagement_StoreLicenses02_01 class is used to manage licenses for store apps.

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

[InPartition("local-system", "local-user"), dynamic, provider("DMWmiBridgeProv")]
class MDM_EnterpriseModernAppManagement_StoreLicenses02_01
{
  string InstanceID;
  string ParentID;
  string LicenseCategory;
  string LicenseUsage;
  string RequesterID;
};

Members

The MDM_EnterpriseModernAppManagement_StoreLicenses02_01 class has these types of members:

Methods

The MDM_EnterpriseModernAppManagement_StoreLicenses02_01 class has these methods.

Method Description
AddLicenseMethod Method for adding a license.
GetLicenseFromStoreMethod Method for getting a license from the store.

Properties

The MDM_EnterpriseModernAppManagement_StoreLicenses02_01 class has these properties.

InstanceID

Data type: string

Access type: Read-only

Qualifiers: key

Optional node. License ID for a store installed app. The license ID is generally the PFN of the app.

Supported operations are Add, Get, and Delete.

LicenseCategory

Data type: string

Access type: Read/write

LicenseUsage

Data type: string

Access type: Read/write

ParentID

Data type: string

Access type: Read-only

Qualifiers: key

Describes the full path to the parent node. For this class, the string is "./Vendor/MSFT/EnterpriseModernAppManagement/AppLicenses/StoreLicenses"

RequesterID

Data type: string

Access type: Read/write

Requirements

Requirement Value
Minimum supported client
Windows 10 [desktop apps only]
Minimum supported server
None supported
Namespace
Root\cimv2\mdm\dmmap
MOF
DMWmiBridgeProv.mof
DLL
DMWmiBridgeProv.dll

See also

Using PowerShell scripting with the WMI Bridge Provider