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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。