Show Navigation | Hide Navigation
You are here:
Geoprocessing > Automating your work with scripts > Scripting object: Properties and Methods > Properties and Methods

ProductInfo method

Release 9.3
Last modified January 19, 2010
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Properties and Methods"


Related Topics

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.

Syntax


object.ProductInfo() As String

Part Description
object The instantiated geoprocessing object


Examples



import arcgisscripting
gp = arcgisscripting.create(9.3)

print gp.ProductInfo() # Prints NotInitialized

gp.SetProduct("ArcView")

print gp.ProductInfo() # Prints ArcView


Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.