次の方法で共有


BackupRestoreBase.Devices プロパティ

バックアップまたは復元操作に対して指定されているバックアップ デバイスを取得します。

この API は、CLS に準拠していません。 

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.SmoExtended (Microsoft.SqlServer.SmoExtended.dll)

構文

'宣言
<CLSCompliantAttribute(False)> _
Public ReadOnly Property Devices As BackupDeviceList 
    Get
'使用
Dim instance As BackupRestoreBase 
Dim value As BackupDeviceList 

value = instance.Devices
[CLSCompliantAttribute(false)]
public BackupDeviceList Devices { get; }
[CLSCompliantAttribute(false)]
public:
property BackupDeviceList^ Devices {
    BackupDeviceList^ get ();
}
[<CLSCompliantAttribute(false)>]
member Devices : BackupDeviceList
function get Devices () : BackupDeviceList

プロパティ値

型: Microsoft.SqlServer.Management.Smo.BackupDeviceList
必要なバックアップ デバイス名の一覧を示す BackupDeviceList オブジェクト配列の値です。既定では、値は指定されません。

使用例

データベースおよびトランザクション ログのバックアップと復元

関連項目

参照

BackupRestoreBase クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

RESTORE (Transact-SQL)

BACKUP (Transact-SQL)