drop error class

Drops an error class and any actions associated with it.

Syntax

drop [replication server] error class error_class

Parameters

Examples

Usage

  • Use the drop error class command to remove an error class. When an error class is dropped, all actions assigned for it are also dropped.

  • You execute drop error class at the Replication Server where the error class was created.

  • You cannot drop:
    • The rs_sqlserver_error_class error class.

    • The rs_repserver_error_class error class.

    • An error class that is in use with a database

  • To change the primary site for an error class, use the move primary of error class command.

  • Replication Server distributes information about the dropped class to qualifying sites through the replication system. The changes do not appear immediately at all such sites because of normal replication system latency.

Permissions

drop error class requires “sa” permission.

Related reference
assign action
alter error class
create connection
create error class
drop connection
move primary