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

CheckProduct 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.

Checks to see if the requested license is available. There are five possible return values for CheckProduct: AlreadyInitialized, Available, Unavailable, NotLicensed, and Failed.


object.CheckProduct(productCode As String) As String

Part Description
object The instantiated geoprocessing object
checkProduct Product code for the product being checked (ArcView, ArcEditor, ArcInfo, Engine, EngineGeoDB, ArcServer)


import arcgisscripting
gp = arcgisscripting.create(9.3)

if gp.CheckProduct("ArcView") == "Available":

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