释放工作空间
string FileName = "d:/yl.mdb";
if (File.Exists(FileName))
{
File.Delete(FileName);
}
IWorkspace pWorkspace = ArcGISPub.ArcGISMdb.CreateMdbWorkSpace(FileName);
ArcGISPub.ArcGISMdb.CreateFeatureClass(pWorkspace as IFeatureWorkspace, "mm", null);
System.Runtime.InteropServices.Marshal.ReleaseComObject(pWorkspace);
pWorkspace = null;
GC.Collect();
GC.WaitForFullGCComplete();