ProductInfo method |
|
|
Release 9.3
Last modified January 19, 2010 |
Print all topics in : "Properties and Methods" |
Note:
This topic was updated for 9.3.1.
Reports the current product license. There are seven possible returned values: NotInitialized (no license set), ArcView, ArcEditor, ArcInfo, Engine, EngineGeoDB, or ArcServer.
| Part | Description |
| object | The instantiated geoprocessing object |
import arcgisscripting
gp = arcgisscripting.create(9.3)
print gp.ProductInfo() # Prints NotInitialized
gp.SetProduct("ArcView")
print gp.ProductInfo() # Prints ArcView