BackupDevice.SkipTapeLabel 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property SkipTapeLabel As Boolean 
    Get 
    Set
用法
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)

属性值

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

示例

备份和还原数据库和事务日志

请参阅

参考

BackupDevice 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

备份设备 (SQL Server)