MailProfile.Script Method

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

备注

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

重载列表

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

请参阅

参考

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

其他资源

Scripting
Using Database Mail
数据库邮件