Method DropFullTextIndex
- Namespace
- YndigoBlue.Velocity.Engine
- Assembly
- YndigoBlue.Velocity.dll
DropFullTextIndex(FullTextIndex)
Drops (deletes) a full-text index from the database.
public void DropFullTextIndex(FullTextIndex fullTextIndex)
Parameters
fullTextIndexFullTextIndexThe FullTextIndex object representing the full-text index to drop.
Examples
using (var m = new Manager(conn))
{
var schema = m.LoadSchema("app");
var table = schema["articles"];
var index = table.FullTextIndexes["fti_content"];
m.DropFullTextIndex(index);
}
Exceptions
- DbException
Thrown when a database error occurs.