BackupDevice.Script Method
Generates a Transact-SQL script that can be used to re-create the backup device.
Overload List
Name | 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.
|
See Also
Reference
BackupDevice Class
BackupDevice Members
Microsoft.SqlServer.Management.Smo Namespace
Other Resources
Scripting
Backing Up and Restoring Databases in SQL Server
Backup Devices