Table of Contents

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

fullTextIndex FullTextIndex

The 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.