Share via


BackupDeviceList.AddDevice Method

This method is not CLS-compliant.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public Sub AddDevice ( _
    name As String, _
    deviceType As DeviceType _
)
public void AddDevice (
    string name,
    DeviceType deviceType
)
public:
void AddDevice (
    String^ name, 
    DeviceType deviceType
)
public void AddDevice (
    String name, 
    DeviceType deviceType
)
public function AddDevice (
    name : String, 
    deviceType : DeviceType
)

Parameters

  • name
  • deviceType

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

BackupDeviceList Class
BackupDeviceList Members
Microsoft.SqlServer.Management.Smo Namespace