Skip to content

Latest commit

 

History

History
161 lines (103 loc) · 4.74 KB

mdm-enterprisemodernappmanagement-storelicenses02-01.md

File metadata and controls

161 lines (103 loc) · 4.74 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
MDM_EnterpriseModernAppManagement_StoreLicenses02_01 class
The MDM\_EnterpriseModernAppManagement\_StoreLicenses02\_01 class is used to manage licenses for store apps.
9fdcba35-6c21-4a39-99f4-470acf7d35bb
MDM_EnterpriseModernAppManagement_StoreLicenses02_01 class
MDM_EnterpriseModernAppManagement_StoreLicenses02_01 class, described
apiref
MDM_EnterpriseModernAppManagement_StoreLicenses02_01
MDM_EnterpriseModernAppManagement_StoreLicenses02_01.InstanceID
MDM_EnterpriseModernAppManagement_StoreLicenses02_01.ParentID
DMWmiBridgeProv.dll
DllExport
reference
05/31/2018

MDM_EnterpriseModernAppManagement_StoreLicenses02_01 class

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

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