Share via


MailAccount.Script Method

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

Remarks

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

Overload List

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

See Also

Reference

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

Other Resources

Using Database Mail
Database Mail