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

BackupDeviceList.AddDevice Method

Adds device type with the specified name to the list.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
public void AddDevice(
	string name,
	DeviceType deviceType
)

Parameters

name
Type: System.String
String value that is used to specify the name of the device that is being added to the BackupDeviceList object.
deviceType
Type: Microsoft.SqlServer.Management.Smo.DeviceType
DeviceType object value that specifies the type of device to add to the BackupDeviceList object.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.