Remove Method (Operator) (SQL-DMO)

The Remove method drops the referenced SQL Server Agent operator, optionally reassigning notifications to a named operator.

Applies To

Operator Object

Syntax

object.Remove( [ NewName ] )

Part Description
object Expression that evaluates to an object in the Applies To list.
NewName Optional. A string identifying an existing operator by name.

Remarks

The Remove method removes the SQL-DMO object referencing the dropped operator from its containing collection.

Prototype (C/C++)

HRESULT Remove(SQLDMO_LPCSTR NewName = NULL);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.