共用方式為


SqlMail.Script Method

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

備註

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

多載清單

名稱 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.

請參閱

參考

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

其他資源

Scripting
Using Database Mail
Database Mail