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 |

.NET Samples

Bind a geodatabase table to a .NET control (Code Files: LicenseInitializer) | Closest facility application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: LicenseInitializer) | Closest facility solver (Code Files: LicenseInitializer) | Location-allocation solver (Code Files: LicenseInitializer) | Origin-destination cost matrix solver (Code Files: LicenseInitializer) | Route application using the NAServer extension in ArcGIS Server via a GIS client (Code Files: LicenseInitializer) | Route application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: LicenseInitializer) | Route layer (Code Files: LicenseInitializer) | Service area application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: LicenseInitializer) | Service area solver (Code Files: LicenseInitializer) | Vehicle routing problem solver (Code Files: LicenseInitializer) |