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


IServerObjectFactoryX.SetProductCode Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerObjectFactoryX Interface > IServerObjectFactoryX.SetProductCode Method
ArcGIS Developer Help

IServerObjectFactoryX.SetProductCode Method

Sets the product code.

[Visual Basic .NET]
Public Sub SetProductCode ( _
    ByVal productCode As Integer _
)
[C#]
public void SetProductCode (
    int productCode
);
[C++]
HRESULT SetProductCode(
  Long productCode
);
[C++]
Parameters
productCode [in]

productCode is a parameter of type int

Product Availability

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

See Also

IServerObjectFactoryX Interface