CategoryBase.Drop 方法

Removes an existing job category, operator category, or alert category.

命名空间:  Microsoft.SqlServer.Management.Smo.Agent
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub Drop
用法
Dim instance As CategoryBase

instance.Drop()
public void Drop()
public:
virtual void Drop() sealed
abstract Drop : unit -> unit  
override Drop : unit -> unit
public final function Drop()

实现

IDroppable.Drop()

示例

在 SQL Server 代理中计划自动管理任务

请参阅

参考

CategoryBase 类

Microsoft.SqlServer.Management.Smo.Agent 命名空间

其他资源

自动执行管理任务(SQL Server 代理)