BackupDevice.SkipTapeLabel Property

Gets or sets a Boolean property value that specifies whether to check that the tape label is correct or not.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property SkipTapeLabel As Boolean 
    Get 
    Set
'Usage
Dim instance As BackupDevice 
Dim value As Boolean 

value = instance.SkipTapeLabel

instance.SkipTapeLabel = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
public bool SkipTapeLabel { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
public:
property bool SkipTapeLabel {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
member SkipTapeLabel : bool with get, set
function get SkipTapeLabel () : boolean 
function set SkipTapeLabel (value : boolean)

Property Value

Type: System.Boolean
A Boolean value that specifies whether the tape label is checked or not.If True, it is assumed that the correct media is already loaded and therefore the tape label is not checked.If False (default), the tape label is checked.

Examples

Backing Up and Restoring Databases and Transaction Logs

See Also

Reference

BackupDevice Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Backup Devices (SQL Server)