共用方式為


Settings.Script Method

多載清單

名稱 Description
Settings.Script ()
Generates a Transact-SQL script that can be used to re-create the Microsoft SQL Server settings.
Settings.Script (ScriptingOptions)
Generates a Transact-SQL script that can be used to re-create the Microsoft SQL Server settings as specified by the scripting options.

請參閱

參考

Settings Class
Settings Members
Microsoft.SqlServer.Management.Smo Namespace

其他資源

Scripting
Configuring SQL Server in SMO