ArcGISCompare.MiscProcs.canDoRelates C# (CSharp) Метод

canDoRelates() статический приватный Метод

static private canDoRelates ( ) : System.Boolean
Результат System.Boolean
        internal static Boolean canDoRelates()
        {
            Boolean Result = false;

            IAoInitialize theInit;
            ILicenseInformation theLicense;

            theInit = new AoInitializeClass();

            theLicense = (ILicenseInformation)theInit;

            String theProduct = theLicense.GetLicenseProductName(theInit.InitializedProduct());

            if (theProduct == "esriLicenseProductCodeArcEditor" || theProduct == "esriLicenseProductCodeArcInfo") return true;

            return Result;
        }