BackupDeviceList 類別
The BackupDeviceList object provides programmatic access to a list backup devices.
此 API 不符合 CLS 標準。
繼承階層
System. . :: . .Object
System.Collections.Generic. . :: . .List< (Of < ( <'BackupDeviceItem> ) > ) >
Microsoft.SqlServer.Management.Smo..::..BackupDeviceList
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)
語法
'宣告
<CLSCompliantAttribute(False)> _
Public Class BackupDeviceList _
Inherits List(Of BackupDeviceItem)
'用途
Dim instance As BackupDeviceList
[CLSCompliantAttribute(false)]
public class BackupDeviceList : List<BackupDeviceItem>
[CLSCompliantAttribute(false)]
public ref class BackupDeviceList : public List<BackupDeviceItem^>
[<CLSCompliantAttribute(false)>]
type BackupDeviceList =
class
inherit List<BackupDeviceItem>
end
public class BackupDeviceList extends List<BackupDeviceItem>
BackupDeviceList 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
![]() |
BackupDeviceList() () () () | Initializes a new instance of the BackupDeviceList class. |
![]() |
BackupDeviceList(Int32) | Initializes a new instance of the BackupDeviceList class with the specified capacity. |
![]() |
BackupDeviceList(IEnumerable< (Of < <' (BackupDeviceItem> ) > > )) | Initializes a new instance of the BackupDeviceList class based on the specified BackupDeviceItem object. |
上層
屬性
名稱 | 說明 | |
---|---|---|
![]() |
Capacity | (繼承自 List< (Of < ( <'BackupDeviceItem> ) > ) >。) |
![]() |
Count | (繼承自 List< (Of < ( <'BackupDeviceItem> ) > ) >。) |
![]() |
Item | (繼承自 List< (Of < ( <'BackupDeviceItem> ) > ) >。) |
上層
方法
上層
明確 繼承 實作
名稱 | 說明 | |
---|---|---|
![]() ![]() |
IList. . :: . .Add | (繼承自 List< (Of < ( <'BackupDeviceItem> ) > ) >。) |
![]() ![]() |
IList. . :: . .Contains | (繼承自 List< (Of < ( <'BackupDeviceItem> ) > ) >。) |
![]() ![]() |
ICollection. . :: . .CopyTo | (繼承自 List< (Of < ( <'BackupDeviceItem> ) > ) >。) |
![]() ![]() |
IEnumerable< (Of < <' (T> ) > > ). . :: . .GetEnumerator | (繼承自 List< (Of < ( <'BackupDeviceItem> ) > ) >。) |
![]() ![]() |
IEnumerable. . :: . .GetEnumerator | (繼承自 List< (Of < ( <'BackupDeviceItem> ) > ) >。) |
![]() ![]() |
IList. . :: . .IndexOf | (繼承自 List< (Of < ( <'BackupDeviceItem> ) > ) >。) |
![]() ![]() |
IList. . :: . .Insert | (繼承自 List< (Of < ( <'BackupDeviceItem> ) > ) >。) |
![]() ![]() |
IList. . :: . .IsFixedSize | (繼承自 List< (Of < ( <'BackupDeviceItem> ) > ) >。) |
![]() ![]() |
ICollection< (Of < <' (T> ) > > ). . :: . .IsReadOnly | (繼承自 List< (Of < ( <'BackupDeviceItem> ) > ) >。) |
![]() ![]() |
IList. . :: . .IsReadOnly | (繼承自 List< (Of < ( <'BackupDeviceItem> ) > ) >。) |
![]() ![]() |
ICollection. . :: . .IsSynchronized | (繼承自 List< (Of < ( <'BackupDeviceItem> ) > ) >。) |
![]() ![]() |
IList. . :: . .Item | (繼承自 List< (Of < ( <'BackupDeviceItem> ) > ) >。) |
![]() ![]() |
IList. . :: . .Remove | (繼承自 List< (Of < ( <'BackupDeviceItem> ) > ) >。) |
![]() ![]() |
ICollection. . :: . .SyncRoot | (繼承自 List< (Of < ( <'BackupDeviceItem> ) > ) >。) |
上層
備註
With the BackupDeviceList object, you can do the following:
Perform a backup to the specified list of devices.
Add backup devices to the list.
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。