BackupDeviceList.AddDevice(String, DeviceType) Method

Definition

Adds a new BackupDeviceItem to the collection

public void AddDevice (string name, Microsoft.SqlServer.Management.Smo.DeviceType deviceType);
member this.AddDevice : string * Microsoft.SqlServer.Management.Smo.DeviceType -> unit
Public Sub AddDevice (name As String, deviceType As DeviceType)

Parameters

name
String
deviceType
DeviceType

Applies to