System.Environment.GetEnvironmentVariable("SDEHOME") 转载于:https://www.cnblogs.com/sunGIS/archive/2006/07/07/444876.html