Compartilhar via


MailProfile.Script Method

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

Remarks

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

Overload List

Name 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.

See Also

Reference

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

Other Resources

Scripting
Using Database Mail
Database Mail