Compartilhar via


MailAccount Constructor

Initializes a new instance of the MailAccount class.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

Name Description
MailAccount ()
Initializes a new instance of the MailAccount class.
MailAccount (SqlMail, String)
Initializes a new instance of the MailAccount class on the specified instance of SQL Server Database Mail subsystem and with the specified name.
MailAccount (SqlMail, String, String)
Initializes a new instance of the MailAccount class on the specified instance of SQL Server Database Mail subsystem and with the specified name and description.
MailAccount (SqlMail, String, String, String, String)
Initializes a new instance of the MailAccount class on the specified instance of SQL Server Database Mail subsystem and with the specified name, description, display name, and e-mail address.

See Also

Reference

MailAccount Class
MailAccount Members
Microsoft.SqlServer.Management.Smo.Mail Namespace

Other Resources

Using Database Mail
Database Mail