Share via


MailProfile.Drop Method

Removes an existing mail profile.

Namespace:  Microsoft.SqlServer.Management.Smo.Mail
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Drop
'Usage
Dim instance As MailProfile

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

Implements

IDroppable.Drop()

Examples

Using Database Mail

See Also

Reference

MailProfile Class

Microsoft.SqlServer.Management.Smo.Mail Namespace

Other Resources

Database Mail