Compartilhar via


SoftwareLicensingTokenActivationLicense class

This class exposes properties of installed token-based activation licenses.

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

Syntax

class SoftwareLicensingTokenActivationLicense
{
  string   ID;
  string   ILID;
  uint32   ILVID;
  uint32   AuthorizationStatus;
  datetime ExpirationDate;
  string   Description;
  string   AdditionalInfo;
};

Members

The SoftwareLicensingTokenActivationLicense class has these types of members:

Methods

The SoftwareLicensingTokenActivationLicense class has these methods.

Method Description
Uninstall Uninstalls the license.

Properties

The SoftwareLicensingTokenActivationLicense class has these properties.

AdditionalInfo

Data type: string

Access type: Read-only

Specifies optional text to provide additional metadata.

AuthorizationStatus

Data type: uint32

Access type: Read-only

Specifies an HRESULT returned from the issuance license (IL) authorization.

Description

Data type: string

Access type: Read-only

Specifies optional text provided by the customer and included in the IL.

ExpirationDate

Data type: datetime

Access type: Read-only

Specifies a UTC datetime after which the IL cannot be used for token activation.

ID

Data type: string

Access type: Read-only

Qualifiers: Key

Specifies a GUID that is used by the Software Licensing service to uniquely identify an XRML license.

ILID

Data type: string

Access type: Read-only

Specifies a GUID that is used to identify the IL to the customer. The ILID is not unique, unless combined with the ILVID.

ILVID

Data type: uint32

Access type: Read-only

Specifies a version number that is used along with the ILID to allow customers to version their licenses.

Requirements

Minimum supported client
Windows 7
Minimum supported server
Windows Server 2008 R2
Namespace
Root\CIMV2
MOF
SppWmi.mof
DLL
SppWmi.dll