BackupDeviceList BackupDeviceList BackupDeviceList Constructors

Definition

Overloads

BackupDeviceList() BackupDeviceList() BackupDeviceList()

Initializes a new instance of the BackupDeviceList class.

BackupDeviceList(IEnumerable<BackupDeviceItem>) BackupDeviceList(IEnumerable<BackupDeviceItem>) BackupDeviceList(IEnumerable<BackupDeviceItem>)

Initializes a new instance of the BackupDeviceList class based on the specified BackupDeviceItem object.

BackupDeviceList(Int32) BackupDeviceList(Int32) BackupDeviceList(Int32)

Initializes a new instance of the BackupDeviceList class with the specified capacity.

BackupDeviceList() BackupDeviceList() BackupDeviceList()

Initializes a new instance of the BackupDeviceList class.

public:
 BackupDeviceList();
public BackupDeviceList ();
Public Sub New ()

Examples

Backing Up and Restoring Databases and Transaction Logs

Remarks

The default constructor initializes any fields to their default values.

BackupDeviceList(IEnumerable<BackupDeviceItem>) BackupDeviceList(IEnumerable<BackupDeviceItem>) BackupDeviceList(IEnumerable<BackupDeviceItem>)

Initializes a new instance of the BackupDeviceList class based on the specified BackupDeviceItem object.

public:
 BackupDeviceList(System::Collections::Generic::IEnumerable<Microsoft::SqlServer::Management::Smo::BackupDeviceItem ^> ^ collection);
public BackupDeviceList (System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Management.Smo.BackupDeviceItem> collection);
Public Sub New (collection As IEnumerable(Of BackupDeviceItem))
Parameters
collection
IEnumerable<BackupDeviceItem>

BackupDeviceItem object value that specifies the backup devices.

Examples

Backing Up and Restoring Databases and Transaction Logs

BackupDeviceList(Int32) BackupDeviceList(Int32) BackupDeviceList(Int32)

Initializes a new instance of the BackupDeviceList class with the specified capacity.

public:
 BackupDeviceList(int capacity);
public BackupDeviceList (int capacity);
Public Sub New (capacity As Integer)
Parameters
capacity
Int32 Int32 Int32

An Int32 value that specifies the capacity of the BackupDeviceList object.

Examples

Backing Up and Restoring Databases and Transaction Logs

Applies to