Megosztás a következőn keresztül:


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

'Declaration
Public Property UnloadTapeAfter As Boolean
    Get
    Set
'Usage
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.