Condividi tramite


Metodo BackupDevice.Script

Include i membri protetti
Include i membri ereditati

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

Questo membro è sottoposto a overload. Per informazioni complete su questo membro, inclusi sintassi, utilizzo ed esempi, fare clic su un nome nell'elenco di overload.

Elenco degli overload

  Nome Descrizione
Metodo pubblico Script() Generates a Transact-SQL script that can be used to re-create the backup device.
Metodo pubblico Script(ScriptingOptions) Generates a Transact-SQL script that can be used to re-create the backup device as specified by the script options.

In alto

Esempi

Generazione di script

Vedere anche

Riferimento

BackupDevice Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo