Export (0) Print
Expand All

BackupDeviceList Class

The BackupDeviceList object provides programmatic access to a list backup devices.

This API is not CLS-compliant. 

Object
  List<BackupDeviceItem>
    Microsoft.SqlServer.Management.Smo::BackupDeviceList

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

[CLSCompliantAttribute(false)]
public ref class BackupDeviceList : public List<BackupDeviceItem^>

The BackupDeviceList type exposes the following members.

  NameDescription
Public methodBackupDeviceList()Initializes a new instance of the BackupDeviceList class.
Public methodBackupDeviceList(Int32)Initializes a new instance of the BackupDeviceList class with the specified capacity.
Public methodBackupDeviceList(IEnumerable<BackupDeviceItem>)Initializes a new instance of the BackupDeviceList class based on the specified BackupDeviceItem object.
Top

  NameDescription
Public propertyCapacity (Inherited from List<BackupDeviceItem>.)
Public propertyCount (Inherited from List<BackupDeviceItem>.)
Public propertyItem (Inherited from List<BackupDeviceItem>.)
Top

  NameDescription
Public methodAdd (Inherited from List<BackupDeviceItem>.)
Public methodAddDeviceAdds device type with the specified name to the list.
Public methodAddRange (Inherited from List<BackupDeviceItem>.)
Public methodAsReadOnly (Inherited from List<BackupDeviceItem>.)
Public methodBinarySearch(UTP) (Inherited from List<BackupDeviceItem>.)
Public methodBinarySearch(UTP, IComparerUTP) (Inherited from List<BackupDeviceItem>.)
Public methodBinarySearch(Int32, Int32, UTP, IComparerUTP) (Inherited from List<BackupDeviceItem>.)
Public methodClear (Inherited from List<BackupDeviceItem>.)
Public methodContains (Inherited from List<BackupDeviceItem>.)
Public methodConvertAll``1 (Inherited from List<BackupDeviceItem>.)
Public methodCopyTo(UTP) (Inherited from List<BackupDeviceItem>.)
Public methodCopyTo(UTP, Int32) (Inherited from List<BackupDeviceItem>.)
Public methodCopyTo(Int32, UTP, Int32, Int32) (Inherited from List<BackupDeviceItem>.)
Public methodEquals (Inherited from Object.)
Public methodExists (Inherited from List<BackupDeviceItem>.)
Protected methodFinalize (Inherited from Object.)
Public methodFind (Inherited from List<BackupDeviceItem>.)
Public methodFindAll (Inherited from List<BackupDeviceItem>.)
Public methodFindIndex(PredicateUTP) (Inherited from List<BackupDeviceItem>.)
Public methodFindIndex(Int32, PredicateUTP) (Inherited from List<BackupDeviceItem>.)
Public methodFindIndex(Int32, Int32, PredicateUTP) (Inherited from List<BackupDeviceItem>.)
Public methodFindLast (Inherited from List<BackupDeviceItem>.)
Public methodFindLastIndex(PredicateUTP) (Inherited from List<BackupDeviceItem>.)
Public methodFindLastIndex(Int32, PredicateUTP) (Inherited from List<BackupDeviceItem>.)
Public methodFindLastIndex(Int32, Int32, PredicateUTP) (Inherited from List<BackupDeviceItem>.)
Public methodForEach (Inherited from List<BackupDeviceItem>.)
Public methodGetEnumerator (Inherited from List<BackupDeviceItem>.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetRange (Inherited from List<BackupDeviceItem>.)
Public methodGetType (Inherited from Object.)
Public methodIndexOf(UTP) (Inherited from List<BackupDeviceItem>.)
Public methodIndexOf(UTP, Int32) (Inherited from List<BackupDeviceItem>.)
Public methodIndexOf(UTP, Int32, Int32) (Inherited from List<BackupDeviceItem>.)
Public methodInsert (Inherited from List<BackupDeviceItem>.)
Public methodInsertRange (Inherited from List<BackupDeviceItem>.)
Public methodLastIndexOf(UTP) (Inherited from List<BackupDeviceItem>.)
Public methodLastIndexOf(UTP, Int32) (Inherited from List<BackupDeviceItem>.)
Public methodLastIndexOf(UTP, Int32, Int32) (Inherited from List<BackupDeviceItem>.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove (Inherited from List<BackupDeviceItem>.)
Public methodRemoveAll (Inherited from List<BackupDeviceItem>.)
Public methodRemoveAt (Inherited from List<BackupDeviceItem>.)
Public methodRemoveRange (Inherited from List<BackupDeviceItem>.)
Public methodReverse (Inherited from List<BackupDeviceItem>.)
Public methodReverse(Int32, Int32) (Inherited from List<BackupDeviceItem>.)
Public methodSort (Inherited from List<BackupDeviceItem>.)
Public methodSort(IComparerUTP) (Inherited from List<BackupDeviceItem>.)
Public methodSort(ComparisonUTP) (Inherited from List<BackupDeviceItem>.)
Public methodSort(Int32, Int32, IComparerUTP) (Inherited from List<BackupDeviceItem>.)
Public methodToArray (Inherited from List<BackupDeviceItem>.)
Public methodToString (Inherited from Object.)
Public methodTrimExcess (Inherited from List<BackupDeviceItem>.)
Public methodTrueForAll (Inherited from List<BackupDeviceItem>.)
Top

  NameDescription
Explicit interface implemetationPrivate methodSystem#Collections#IList#Add (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate methodSystem#Collections#IList#Contains (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate methodSystem#Collections#ICollection#CopyTo (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate methodSystem#Collections#Generic#IEnumerable{T}#GetEnumerator (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate methodSystem#Collections#IEnumerable#GetEnumerator (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate methodSystem#Collections#IList#IndexOf (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate methodSystem#Collections#IList#Insert (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate propertySystem#Collections#IList#IsFixedSize (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate propertySystem#Collections#Generic#ICollection{T}#IsReadOnly (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate propertySystem#Collections#IList#IsReadOnly (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate propertySystem#Collections#ICollection#IsSynchronized (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate propertySystem#Collections#IList#Item (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate methodSystem#Collections#IList#Remove (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate propertySystem#Collections#ICollection#SyncRoot (Inherited from List<BackupDeviceItem>.)
Top

With the BackupDeviceList object, you can do the following:

  • Perform a backup to the specified list of devices.

  • Add backup devices to the list.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft