Remove Method

SQLServer.Executive.Task Object

Description

Drops the SQL Server task and removes the Task object.

Visual Basic

Task.Remove

C++

HRESULT pTask->Remove ( );

Reference

sp_droptask