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 中备份和还原数据库
备份设备