Partilhar via


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
Public Property SkipTapeLabel As Boolean
public bool SkipTapeLabel { get; set; }
public:
property bool SkipTapeLabel {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_SkipTapeLabel ()

/** @property */
public void set_SkipTapeLabel (boolean value)
public function get SkipTapeLabel () : boolean

public function set SkipTapeLabel (value : boolean)

Property Value

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.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Back Up Databases and Transaction Logs in Visual Basic .NET

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

BackupDevice Class
BackupDevice Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Backing Up and Restoring Databases in SQL Server
Backup Devices