/// <summary>
/// 删除图层所有表连接(一次移除所有连接)
/// </summary>
/// <param name="pFeatureLayers"></param>
public static void DeleteRelationships(IFeatureLayer pFeatureLayers)
{
ESRI.ArcGIS.DataManagementTools.RemoveJoin removeJoin = new ESRI.ArcGIS.DataManagementTools.RemoveJoin(pFeatureLayers);
ESRI.ArcGIS.Geoprocessor.Geoprocessor gp = new ESRI.ArcGIS.Geoprocessor.Geoprocessor();
IGeoProcessorResult gpResult = gp.Execute(removeJoin,null) as IGeoProcessorResult;
}