srv = new Server(_instancename) if (srv.IsFullTextInstalled == true)//this line return true { Database db = srv.Databases["jorce"]; if (! db.FullTextCatalogs.Contains("JorceFTCat"))//this line throws exception: "Full-text is not supported on this edition of SQL Server." { FullTextCatalog ftc = new FullTextCatalog(db, "JorceFTCat"); ftc.IsDefault = true; ftc.Create(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)