Schema.DeleteSchema method

Delete this schema from the application.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Sub DeleteSchema
'Usage
Dim instance As Schema

instance.DeleteSchema()
public void DeleteSchema()

Exceptions

Exception Condition
UnauthorizedAccessException

If the schema owner does not have the required privileges.

DatabaseException

If there was an error querying the database.

CouldNotModifySchemaException

If the schema could not be deleted.

See also

Reference

Schema class

Schema members

Microsoft.Office.Server.Search.Administration namespace