Share via


SqlMail.Script Method

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

Remarks

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

Overload List

Name Description
SqlMail.Script ()
Generates a Transact-SQL script that can be used to re-create the SQL Server Database Mail subsystem.
SqlMail.Script (ScriptingOptions)
Generates a Transact-SQL script that can be used to re-create the SQL Server Database Mail subsystem as specified by the scripting options.

See Also

Reference

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

Other Resources

Scripting
Using Database Mail
Database Mail