This document is archived and information here might be outdated.  Recommended version.


ILicenseInformation.GetLicenseProductName Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

ILicenseInformation.GetLicenseProductName Method

Retrieve the name license product code.

[Visual Basic .NET]
Public Function GetLicenseProductName ( _
    ByVal ProductCode As esriLicenseProductCode _
) As String
[C#]
public string GetLicenseProductName (
    esriLicenseProductCode ProductCode
);
[C++]
HRESULT GetLicenseProductName(
  esriLicenseProductCode ProductCode,
  BSTR* ProductName
);
[C++]

Parameters ProductCode [in]
ProductCode is a parameter of type esriLicenseProductCode ProductName [out, retval] ProductName is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Returns the name of the specified license product code constant.

See Also

ILicenseInformation Interface

.NET Snippets

Display Product License And Extensions Information