Aracılığıyla paylaş


BackupRestoreBase.UnloadTapeAfter Property

Gets or sets a Boolean property value that determines whether tape media are rewound and unloaded after the backup or restore operation completes.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

Syntax

'Bildirim
Public Property UnloadTapeAfter As Boolean
    Get
    Set
'Kullanım
Dim instance As BackupRestoreBase
Dim value As Boolean

value = instance.UnloadTapeAfter

instance.UnloadTapeAfter = value
public bool UnloadTapeAfter { get; set; }
public:
property bool UnloadTapeAfter {
    bool get ();
    void set (bool value);
}
member UnloadTapeAfter : bool with get, set
function get UnloadTapeAfter () : boolean
function set UnloadTapeAfter (value : boolean)

Property Value

Type: System.Boolean
A Boolean value that specifies whether tape media are rewound and unloaded after the backup or restore operation completes.
If True, the tape medium in the tape device is rewound and unloaded when the operation completes.
If False (default), no attempt is made to rewind and unload the tape medium.

Examples

Backing Up and Restoring Databases and Transaction Logs

See Also

Reference

BackupRestoreBase Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

RESTORE (Transact-SQL)

BACKUP (Transact-SQL)