MailAccount Constructor

Initializes a new instance of the MailAccount class.

备注

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

重载列表

名称 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.

请参阅

参考

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

其他资源

Using Database Mail
数据库邮件