Share via


MailAccount.Create Method

Creates a mail account on the instance of SQL Server running the SQL Server Database Mail subsystem, as defined by the MailAccount 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 MailAccount

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

MailAccount Class

Microsoft.SqlServer.Management.Smo.Mail Namespace

Other Resources

Database Mail