MailAccount.Script Method

Generates a Transact-SQL script that can be used to re-create the SQL Server Database Mail account.

备注

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

重载列表

名称 Description
MailAccount.Script ()
Generates a Transact-SQL script that can be used to re-create the SQL Server Database Mail account.
MailAccount.Script (ScriptingOptions)
Generates a Transact-SQL script that can be used to re-create the SQL Server Database Mail account, as specified by the scripting options.

请参阅

参考

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

其他资源

Using Database Mail
数据库邮件