Condividi tramite


Proprietà BackupDevice.SkipTapeLabel

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property SkipTapeLabel As Boolean 
    Get 
    Set
'Utilizzo
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)

Valore proprietà

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

Esempi

Backup e ripristino dei database e dei log delle transazioni

Vedere anche

Riferimento

BackupDevice Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Dispositivi di backup (SQL Server)