共用方式為


MailServer.Script Method

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

多載清單

名稱 Description
MailServer.Script ()
Generates a Transact-SQL script that can be used to re-create the SQL Server Database Mail server.
MailServer.Script (ScriptingOptions)
Generates a Transact-SQL script that can be used to re-create the SQL Server Database Mail server.

請參閱

參考

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

其他資源

Scripting
Using Database Mail
Database Mail