Freigeben über


BackupDevice.SkipTapeLabel-Eigenschaft

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)

Eigenschaftswert

Typ: 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.

Beispiele

Sichern und Wiederherstellen von Datenbanken und Transaktionsprotokollen

Siehe auch

Verweis

BackupDevice Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Sicherungsmedien (SQL Server)