Partilhar via


BackupDevice.BackupDeviceType Property

Gets or sets the type of backup device of the backup device.

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

Syntax

'Declaration
Public Property BackupDeviceType As BackupDeviceType
public BackupDeviceType BackupDeviceType { get; set; }
public:
property BackupDeviceType BackupDeviceType {
    BackupDeviceType get ();
    void set (BackupDeviceType value);
}
/** @property */
public BackupDeviceType get_BackupDeviceType ()

/** @property */
public void set_BackupDeviceType (BackupDeviceType value)
public function get BackupDeviceType () : BackupDeviceType

public function set BackupDeviceType (value : BackupDeviceType)

Property Value

A BackupDeviceType object that specifies the device type of the backup device. By default, the value is not specified.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Back Up Databases and Transaction Logs in Visual Basic .NET

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

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

Other Resources

Backing Up and Restoring Databases in SQL Server
Backup Devices