Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

BackupDeviceList Class

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

This API is not CLS-compliant. 
System.Object
  System.Collections.Generic.List<BackupDeviceItem>
    Microsoft.SqlServer.Management.Smo.BackupDeviceList

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
[CLSCompliantAttribute(false)]
public class BackupDeviceList : 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(T) (Inherited from List<BackupDeviceItem>.)
Public methodBinarySearch(T, IComparer<T>) (Inherited from List<BackupDeviceItem>.)
Public methodBinarySearch(Int32, Int32, T, IComparer<T>) (Inherited from List<BackupDeviceItem>.)
Public methodClear (Inherited from List<BackupDeviceItem>.)
Public methodContains (Inherited from List<BackupDeviceItem>.)
Public methodConvertAll<TOutput> (Inherited from List<BackupDeviceItem>.)
Public methodCopyTo(T[]) (Inherited from List<BackupDeviceItem>.)
Public methodCopyTo(T[], Int32) (Inherited from List<BackupDeviceItem>.)
Public methodCopyTo(Int32, T[], 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(Predicate<T>) (Inherited from List<BackupDeviceItem>.)
Public methodFindIndex(Int32, Predicate<T>) (Inherited from List<BackupDeviceItem>.)
Public methodFindIndex(Int32, Int32, Predicate<T>) (Inherited from List<BackupDeviceItem>.)
Public methodFindLast (Inherited from List<BackupDeviceItem>.)
Public methodFindLastIndex(Predicate<T>) (Inherited from List<BackupDeviceItem>.)
Public methodFindLastIndex(Int32, Predicate<T>) (Inherited from List<BackupDeviceItem>.)
Public methodFindLastIndex(Int32, Int32, Predicate<T>) (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(T) (Inherited from List<BackupDeviceItem>.)
Public methodIndexOf(T, Int32) (Inherited from List<BackupDeviceItem>.)
Public methodIndexOf(T, Int32, Int32) (Inherited from List<BackupDeviceItem>.)
Public methodInsert (Inherited from List<BackupDeviceItem>.)
Public methodInsertRange (Inherited from List<BackupDeviceItem>.)
Public methodLastIndexOf(T) (Inherited from List<BackupDeviceItem>.)
Public methodLastIndexOf(T, Int32) (Inherited from List<BackupDeviceItem>.)
Public methodLastIndexOf(T, 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(IComparer<T>) (Inherited from List<BackupDeviceItem>.)
Public methodSort(Comparison<T>) (Inherited from List<BackupDeviceItem>.)
Public methodSort(Int32, Int32, IComparer<T>) (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 methodIList.Add (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate methodIList.Contains (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate methodICollection.CopyTo (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate methodIEnumerable<T>.GetEnumerator (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate methodIEnumerable.GetEnumerator (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate methodIList.IndexOf (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate methodIList.Insert (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate propertyIList.IsFixedSize (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate propertyICollection<T>.IsReadOnly (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate propertyIList.IsReadOnly (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate propertyICollection.IsSynchronized (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate propertyIList.Item (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate methodIList.Remove (Inherited from List<BackupDeviceItem>.)
Explicit interface implemetationPrivate propertyICollection.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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.