共用方式為


BackupDevice.Script Method

Generates a Transact-SQL script that can be used to re-create the backup device.

多載清單

名稱 Description
BackupDevice.Script ()
Generates a Transact-SQL script that can be used to re-create the backup device.
BackupDevice.Script (ScriptingOptions)
Generates a Transact-SQL script that can be used to re-create the backup device as specified by the script options.

請參閱

參考

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

其他資源

Scripting
在 SQL Server 中備份和還原資料庫
備份裝置