共用方式為


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)