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


IGpDispatch.SetProduct Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

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,
  BSTR* Status
);
[C++]

Parameters code [in] code is a parameter of type BSTR Status [out, retval] Status is a parameter of type BSTR

Product Availability

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

See Also

IGpDispatch Interface