This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGpDispatch Interface > IGpDispatch.SetProduct Method (ArcObjects .NET 10.5 SDK) |
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