共用方式為


UnloadTapeAfter 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)

語法

'宣告
Public Property UnloadTapeAfter As Boolean
    Get
    Set
'用途
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)

屬性值

型別: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.