Win32_TSLicenseKeyPack, ROOT\CIMV2

Class | Methods (16) | Properties (12) | Qualifiers (4) | Instances (1) | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

The Win32_TSLicenseKeyPack class provides instances of license key packs installed on License Server

Win32_TSLicenseKeyPack methods

Win32_TSLicenseKeyPack has 16 methods (16 Local)

NameOriginReturn
ConvertLicensesWin32_TSLicenseKeyPackuint32 {'out':True}
ImportAgreementLicenseKeyPackWin32_TSLicenseKeyPackuint32 {'out':True}
ImportLicenseKeyPackOfflineWin32_TSLicenseKeyPackuint32 {'out':True}
ImportOpenPurchaseLicenseKeyPackWin32_TSLicenseKeyPackuint32 {'out':True}
ImportRetailPurchaseLicenseKeyPackWin32_TSLicenseKeyPackuint32 {'out':True}
InstallAgreementLicenseKeyPackWin32_TSLicenseKeyPackuint32 {'out':True}
InstallLicenseKeyPackWin32_TSLicenseKeyPackuint32 {'out':True}
InstallOpenLicenseKeyPackWin32_TSLicenseKeyPackuint32 {'out':True}
InstallRetailPurchaseLicenseKeyPackWin32_TSLicenseKeyPackuint32 {'out':True}
ReinstallAgreementLicenseKeyPackWin32_TSLicenseKeyPackuint32 {'out':True}
ReinstallLicenseKeyPackOfflineWin32_TSLicenseKeyPackuint32 {'out':True}
ReinstallOpenPurchaseLicenseKeyPackWin32_TSLicenseKeyPackuint32 {'out':True}
ReinstallRetailPurchaseLicenseKeyPackWin32_TSLicenseKeyPackuint32 {'out':True}
RemoveLicensesWithIdCountWin32_TSLicenseKeyPackuint32 {'out':True}
UninstallLicenseKeyPackWin32_TSLicenseKeyPackuint32 {'out':True}
UninstallLicenseKeyPackWithIdWin32_TSLicenseKeyPackuint32 {'out':True}

Win32_TSLicenseKeyPack properties

Win32_TSLicenseKeyPack has 12 properties (12 Local)

NameOriginCIMType
AccessRightsWin32_TSLicenseKeyPack19 [uint32]
AvailableLicensesWin32_TSLicenseKeyPack19 [uint32]
DescriptionWin32_TSLicenseKeyPack8 [string]
ExpirationDateWin32_TSLicenseKeyPack101 [DATETIME]
IssuedLicensesWin32_TSLicenseKeyPack19 [uint32]
key
KeyPackId
Win32_TSLicenseKeyPack19 [uint32]
KeyPackTypeWin32_TSLicenseKeyPack19 [uint32]
ProductTypeWin32_TSLicenseKeyPack19 [uint32]
ProductVersionWin32_TSLicenseKeyPack8 [string]
ProductVersionIDWin32_TSLicenseKeyPack19 [uint32]
TotalLicensesWin32_TSLicenseKeyPack19 [uint32]
TypeAndModelWin32_TSLicenseKeyPack8 [string]

Detailed description of Win32_TSLicenseKeyPack methods

Local methods (16) of Win32_TSLicenseKeyPack class

▲ ConvertLicenses method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Countuint320✓-{'in':True}
KeypackIDuint321-✓{'out':True}
Description'Converts the Licenses in current keypack. NOT a static functionCount : Number of liceneses to be convertedKeypackID : keypack ID of resultant keypack'
implementedTrue
ConvertLicenses method is in 1 class (Win32_TSLicenseKeyPack) of ROOT\cimv2 and in 2 namespaces
▲ ImportAgreementLicenseKeyPack method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
AgreementTypeuint320✓-{'in':True}
sAgreementNumberstring1✓-{'in':True}
ProductVersionuint322✓-{'in':True}
ProductTypeuint323✓-{'in':True}
LicenseCountuint324✓-{'in':True}
sSourceLSNamestring5✓-{'in':True}
sSourceLSProductIdstring6✓-{'in':True}
KeyPackIduint327-✓{'out':True}
Description'Imports agreement TS Licensing key packAgreementType is an enumeration of the following values:SELECT=0, ENTERPRISE=1, CAMPUS=2, SCHOOL=3,SERVICE_PROVIDER=4, OTHER=5, SELECTPLUS=6ProductVersion is an enumeration of the following values:Windows 2000 Server=0,Windows Server 2003=1,Windows Server 2008=2ProductType is an enumeration of the following values:Per Device=0, Per User=1, Internet=2'
implementedTrue
staticTrue
ImportAgreementLicenseKeyPack method is in 1 class (Win32_TSLicenseKeyPack) of ROOT\cimv2 and in 2 namespaces
▲ ImportLicenseKeyPackOffline method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
sLicenseKeyPackIdstring0✓-{'in':True}
sSourceLSNamestring1✓-{'in':True}
sSourceLSProductIdstring2✓-{'in':True}
KeyPackIduint323-✓{'out':True}
Description'Imports TS Licensing key pack using the license key pack Idreceived over www/phone'
implementedTrue
staticTrue
ImportLicenseKeyPackOffline method is in 1 class (Win32_TSLicenseKeyPack) of ROOT\cimv2 and in 2 namespaces
▲ ImportOpenPurchaseLicenseKeyPack method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
sLicenseNumberstring0✓-{'in':True}
sAuthorizationNumberstring1✓-{'in':True}
ProductVersionuint322✓-{'in':True}
ProductTypeuint323✓-{'in':True}
LicenseCountuint324✓-{'in':True}
sSourceLSNamestring5✓-{'in':True}
sSourceLSProductIdstring6✓-{'in':True}
KeyPackIduint327-✓{'out':True}
Description'Imports open TS Licensing key packProductVersion is an enumeration of the following values:Windows 2000 Server=0,Windows Server 2003=1,Windows Server 2008=2ProductType is an enumeration of the following values:Per Device=0, Per User=1, Internet=2'
implementedTrue
staticTrue
ImportOpenPurchaseLicenseKeyPack method is in 1 class (Win32_TSLicenseKeyPack) of ROOT\cimv2 and in 2 namespaces
▲ ImportRetailPurchaseLicenseKeyPack method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
sLicenseCodestring0✓-{'in':True}
sSourceLSNamestring1✓-{'in':True}
sSourceLSProductIdstring2✓-{'in':True}
KeyPackIduint323-✓{'out':True}
Description'Imports retail purchase TS Licensing key pack'
implementedTrue
staticTrue
ImportRetailPurchaseLicenseKeyPack method is in 1 class (Win32_TSLicenseKeyPack) of ROOT\cimv2 and in 2 namespaces
▲ InstallAgreementLicenseKeyPack method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
AgreementTypeuint320✓-{'in':True}
sAgreementNumberstring1✓-{'in':True}
ProductVersionuint322✓-{'in':True}
ProductTypeuint323✓-{'in':True}
LicenseCountuint324✓-{'in':True}
KeyPackIduint325-✓{'out':True}
Description'Installs agreement TS Licensing key packAgreementType is an enumeration of the following values:SELECT=0, ENTERPRISE=1, CAMPUS=2, SCHOOL=3,SERVICE_PROVIDER=4, OTHER=5, SELECTPLUS=6ProductVersion is an enumeration of the following values:Windows 2000 Server=0,Windows Server 2003=1,Windows Server 2008=2ProductType is an enumeration of the following values:Per Device=0, Per User=1, Internet=2'
implementedTrue
staticTrue
InstallAgreementLicenseKeyPack method is in 1 class (Win32_TSLicenseKeyPack) of ROOT\cimv2 and in 2 namespaces
▲ InstallLicenseKeyPack method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
sLicenseKeyPackIdstring0✓-{'in':True}
KeyPackIduint321-✓{'out':True}
Description'Installs TS Licensing key pack using the license key pack Idreceived over www/phone'
implementedTrue
staticTrue
InstallLicenseKeyPack method is in 1 class (Win32_TSLicenseKeyPack) of ROOT\cimv2 and in 2 namespaces
▲ InstallOpenLicenseKeyPack method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
sLicenseNumberstring0✓-{'in':True}
sAuthorizationNumberstring1✓-{'in':True}
ProductVersionuint322✓-{'in':True}
ProductTypeuint323✓-{'in':True}
LicenseCountuint324✓-{'in':True}
KeyPackIduint325-✓{'out':True}
Description'Installs open TS Licensing key packProductVersion is an enumeration of the following values:Windows 2000 Server=0,Windows Server 2003=1,Windows Server 2008=2ProductType is an enumeration of the following values:Per Device=0, Per User=1, Internet=2'
implementedTrue
staticTrue
InstallOpenLicenseKeyPack method is in 1 class (Win32_TSLicenseKeyPack) of ROOT\cimv2 and in 2 namespaces
▲ InstallRetailPurchaseLicenseKeyPack method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
sLicenseCodestring0✓-{'in':True}
KeyPackIduint321-✓{'out':True}
Description'Installs retail purchase TS Licensing key pack'
implementedTrue
staticTrue
InstallRetailPurchaseLicenseKeyPack method is in 1 class (Win32_TSLicenseKeyPack) of ROOT\cimv2 and in 2 namespaces
▲ ReinstallAgreementLicenseKeyPack method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
AgreementTypeuint320✓-{'in':True}
sAgreementNumberstring1✓-{'in':True}
ProductVersionuint322✓-{'in':True}
ProductTypeuint323✓-{'in':True}
LicenseCountuint324✓-{'in':True}
KeyPackIduint325-✓{'out':True}
Description'Reinstalls agreement TS Licensing key packAgreementType is an enumeration of the following values:SELECT=0, ENTERPRISE=1, CAMPUS=2, SCHOOL=3,SERVICE_PROVIDER=4, OTHER=5, SELECTPLUS=6ProductVersion is an enumeration of the following values:Windows 2000 Server=0,Windows Server 2003=1,Windows Server 2008=2ProductType is an enumeration of the following values:Per Device=0, Per User=1, Internet=2'
implementedTrue
staticTrue
ReinstallAgreementLicenseKeyPack method is in 1 class (Win32_TSLicenseKeyPack) of ROOT\cimv2 and in 2 namespaces
▲ ReinstallLicenseKeyPackOffline method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
sLicenseKeyPackIdstring0✓-{'in':True}
KeyPackIduint321-✓{'out':True}
Description'Reinstalls TS Licensing key pack using the license key pack Idreceived over www/phone'
implementedTrue
staticTrue
ReinstallLicenseKeyPackOffline method is in 1 class (Win32_TSLicenseKeyPack) of ROOT\cimv2 and in 2 namespaces
▲ ReinstallOpenPurchaseLicenseKeyPack method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
sLicenseNumberstring0✓-{'in':True}
sAuthorizationNumberstring1✓-{'in':True}
ProductVersionuint322✓-{'in':True}
ProductTypeuint323✓-{'in':True}
LicenseCountuint324✓-{'in':True}
KeyPackIduint325-✓{'out':True}
Description'Reinstalls open TS Licensing key packProductVersion is an enumeration of the following values:Windows 2000 Server=0,Windows Server 2003=1,Windows Server 2008=2ProductType is an enumeration of the following values:Per Device=0, Per User=1, Internet=2'
implementedTrue
staticTrue
ReinstallOpenPurchaseLicenseKeyPack method is in 1 class (Win32_TSLicenseKeyPack) of ROOT\cimv2 and in 2 namespaces
▲ ReinstallRetailPurchaseLicenseKeyPack method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
sLicenseCodestring0✓-{'in':True}
KeyPackIduint321-✓{'out':True}
Description'Reinstalls retail purchase TS Licensing key pack'
implementedTrue
staticTrue
ReinstallRetailPurchaseLicenseKeyPack method is in 1 class (Win32_TSLicenseKeyPack) of ROOT\cimv2 and in 2 namespaces
▲ RemoveLicensesWithIdCount method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
KeyPackIduint320✓-{'in':True}
LicenseCountuint321✓-{'in':True}
Description'Uninstalls TS Licensing key packKeyPackId - Qualifier for TS Licensing key pack identifierLicenseCount - number of License to uninstall'
implementedTrue
staticTrue
RemoveLicensesWithIdCount method is in 1 class (Win32_TSLicenseKeyPack) of ROOT\cimv2 and in 2 namespaces
▲ UninstallLicenseKeyPack method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
ProductVersionuint320✓-{'in':True}
ProductTypeuint321✓-{'in':True}
LicenseCountuint322✓-{'in':True}
Description'Uninstalls TS Licensing key packProductVersion is an enumeration of the following values:Windows 2000 Server=0,Windows Server 2003=1,Windows Server 2008=2ProductType is an enumeration of the following values:Per Device=0, Per User=1, Internet=2'
implementedTrue
staticTrue
UninstallLicenseKeyPack method is in 1 class (Win32_TSLicenseKeyPack) of ROOT\cimv2 and in 2 namespaces
▲ UninstallLicenseKeyPackWithId method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
KeyPackIduint320✓-{'in':True}
Description'Uninstalls TS Licensing key packKeyPackId - Qualifier for TS Licensing key pack identifier'
implementedTrue
staticTrue
UninstallLicenseKeyPackWithId method is in 1 class (Win32_TSLicenseKeyPack) of ROOT\cimv2 and in 2 namespaces

Detailed description of Win32_TSLicenseKeyPack properties

Local properties (12) of Win32_TSLicenseKeyPack class

▲ AccessRights property
BitMap['0', '1', '2', '3']
BitValues['RD Session', 'VDI Session', 'Calista', 'VDI Partners']
CIMTYPE'uint32'
Description'Qualifier for TS Licensing key pack access rights '
readTrue
AccessRights property is in 1 class (Win32_TSLicenseKeyPack) of ROOT\cimv2 and in 2 namespaces
▲ AvailableLicenses property
CIMTYPE'uint32'
Description'Qualifier for available licenses in TS Licensing key pack'
readTrue
AvailableLicenses property is in 1 class (Win32_TSLicenseKeyPack) of ROOT\cimv2 and in 2 namespaces
▲ Description property
CIMTYPE'string'
Description'Qualifier for TS Licensing key pack Description'
readTrue
Description property is in 1061 classes of ROOT\cimv2 and in 142 namespaces
▲ ExpirationDate property
CIMTYPE'DATETIME'
Description'Qualifier for TS Licensing keypack expiration date'
readTrue
ExpirationDate property is in 5 classes of ROOT\cimv2 and in 9 namespaces
▲ IssuedLicenses property
CIMTYPE'uint32'
Description'Qualifier for issued licenses in TS Licensing key pack'
readTrue
IssuedLicenses property is in 2 classes of ROOT\cimv2 and in 2 namespaces
▲ KeyPackId property
CIMTYPE'uint32'
Description'Qualifier for TS Licensing key pack identifier'
keyTrue
readTrue
KeyPackId property is in 2 classes of ROOT\cimv2 and in 2 namespaces
▲ KeyPackType property
CIMTYPE'uint32'
Description'Qualifier for TS Licensing key pack type0=Unknown, 1=Retail Purchase, 2=Volume, 3=Concurrent4=Temporary, 5=Open, 6=Built-In'
readTrue
KeyPackType property is in 1 class (Win32_TSLicenseKeyPack) of ROOT\cimv2 and in 2 namespaces
▲ ProductType property
CIMTYPE'uint32'
Description'Qualifier for TS Licensing key pack product Type0=Per Device, 1=Per User, 2=Internet'
readTrue
ProductType property is in 2 classes of ROOT\cimv2 and in 2 namespaces
▲ ProductVersion property
CIMTYPE'string'
Description'Qualifier for TS Licensing key pack product versionWindows 2000 Server, Windows Server 2003, Windows Server 2008/ Windows Server 2008 R2'
readTrue
ProductVersion property is in 5 classes of ROOT\cimv2 and in 2 namespaces
▲ ProductVersionID property
CIMTYPE'uint32'
Description'Qualifier for TS Licensing key pack product versionWindows 2000 Server=0,Windows Server 2003=1,Windows Server 2008/Windows Server 2008 R2 =2'
readTrue
ProductVersionID property is in 5 classes of ROOT\cimv2 and in 2 namespaces
▲ TotalLicenses property
CIMTYPE'uint32'
Description'Qualifier for total licenses in TS Licensing key pack'
readTrue
TotalLicenses property is in 1 class (Win32_TSLicenseKeyPack) of ROOT\cimv2 and in 2 namespaces
▲ TypeAndModel property
CIMTYPE'string'
Description'Qualifier for TS Licensing key pack type and model. Examples: VDI Per Device subscription license, TS Per User CAL'
readTrue
TypeAndModel property is in 1 class (Win32_TSLicenseKeyPack) of ROOT\cimv2 and in 2 namespaces

Win32_TSLicenseKeyPack Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
Description'The Win32_TSLicenseKeyPack class provides instances of license key packs installed on License Server'✗✓✓✓✓
dynamicTrue✓✗✓✗✓
LOCALE1033✗✗✓✓✓
provider'Win32_WIN32_TERMSERVLICENSING_Prov'✗✗✓✗✓

Win32_TSLicenseKeyPack System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\cimv2:Win32_TSLicenseKeyPack'___SYSTEM8✗✗
__NAMESPACE'ROOT\cimv2'___SYSTEM8✗✗
__SERVER'.'___SYSTEM8✗✗
__DERIVATION[]___SYSTEM8✗✓
__PROPERTY_COUNT12___SYSTEM3✗✗
__RELPATH'Win32_TSLicenseKeyPack'___SYSTEM8✗✗
__DYNASTY'Win32_TSLicenseKeyPack'___SYSTEM8✗✗
__SUPERCLASSnull___SYSTEM8✗✗
__CLASS'Win32_TSLicenseKeyPack'___SYSTEM8✗✗
__GENUS1___SYSTEM3✗✗

Similar Classes to Win32_TSLicenseKeyPack

Number of classes:11
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
CIM_ComputerSystemPackage020--✓-
CIM_ConnectorOnPackage030--✓-
CIM_PackageAlarm020--✓-
CIM_PackageCooling020--✓-
CIM_PackagedComponent230-1✓-
CIM_PackageInChassis030--✓-
CIM_PackageInSlot120--✓-
CIM_PackageTempSensor020--✓-
CIM_PhysicalPackage3221-3✓-
MSFT_WdsDriverPackage01515----
Win32_PatchPackage0505---
comments powered by Disqus
WUtils.com