public static bool DeleteVirtualDir(IISWebDir virtualDir) { if (virtualDir.Type == IISWebDirType.IIsWebVirtualDir) { virtualDir.DeleteApplication(); return(true); } else { return(false); } }
public static bool DeleteVirtualDir(IISWebDir virtualDir) { if (virtualDir.Type == IISWebDirType.IIsWebVirtualDir) { virtualDir.DeleteApplication(); return true; } else { return false; } }