Share via


MailProfile.Create Method

Creates a mail profile on the instance of SQL Server running the SQL Server Database Mail subsystem, as defined by the MailProfile object.

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

Syntax

'Declaration
Public Sub Create
'Usage
Dim instance As MailProfile

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

Implements

ICreatable.Create()

Examples

Using Database Mail

See Also

Reference

MailProfile Class

Microsoft.SqlServer.Management.Smo.Mail Namespace

Other Resources

Database Mail