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


IGpDispatch.SetProduct Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGpDispatch Interface > IGpDispatch.SetProduct Method
ArcGIS Developer Help

IGpDispatch.SetProduct Method

Sets the license level.

[Visual Basic .NET]
Public Function SetProduct ( _
    ByVal code As String _
) As String
[C#]
public string SetProduct (
    string code
);
[C++]
HRESULT SetProduct(
  BSTR code
);
[C++]
Parameters
code [in]

code is a parameter of type BSTR

Product Availability

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

See Also

IGpDispatch Interface