【解决办法】:
RuntimeManager.Bind 只是绑定一个产品,参数是Engine的话即绑定Engine产品,Desktop的话绑定Desktop,EngineOrDesktop的话会优先绑定Engine,没有安装Engine的话,绑定Desktop。
RuntimeManager.BindLicense 除了绑定产品外还绑定了主产品许可,第二个参数LicenseLevel可以是GeodatabaseUpdate,或者Standard,具体含义如下
Geodatabase update level. Corresponds to Standard or Advanced when the product code is Desktop; EngineGeoDB when the product code is Engine; and ArcServer when the product code is Server.
Standard license level. Corresponds to Basic, Standard or Advanced when the product code is Desktop; Engine when the product code is Engine; and ArcServer when the product code is Server.
另外,如果需要使用扩展许可的话还是需要使用IAoInitialize.CheckOutExtension来检出。
1 个回复
朱新颖
赞同来自:
RuntimeManager.Bind 只是绑定一个产品,参数是Engine的话即绑定Engine产品,Desktop的话绑定Desktop,EngineOrDesktop的话会优先绑定Engine,没有安装Engine的话,绑定Desktop。
RuntimeManager.BindLicense 除了绑定产品外还绑定了主产品许可,第二个参数LicenseLevel可以是GeodatabaseUpdate,或者Standard,具体含义如下
Geodatabase update level. Corresponds to Standard or Advanced when the product code is Desktop; EngineGeoDB when the product code is Engine; and ArcServer when the product code is Server.
Standard license level. Corresponds to Basic, Standard or Advanced when the product code is Desktop; Engine when the product code is Engine; and ArcServer when the product code is Server.
另外,如果需要使用扩展许可的话还是需要使用IAoInitialize.CheckOutExtension来检出。
要回复问题请先登录或注册