Freigeben über


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
)

Parameter

  • name
  • deviceType

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

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