共用方式為


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
Database Mail