MailAccount.Script Method
Generates a Transact-SQL script that can be used to re-create the SQL Server Database Mail account.
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