Add 方法
Adds the specified backup device to the referenced collection.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub Add ( _
backupDevice As BackupDevice _
)
'用途
Dim instance As BackupDeviceCollection
Dim backupDevice As BackupDevice
instance.Add(backupDevice)
public void Add(
BackupDevice backupDevice
)
public:
void Add(
BackupDevice^ backupDevice
)
member Add :
backupDevice:BackupDevice -> unit
public function Add(
backupDevice : BackupDevice
)
參數
- backupDevice
型別:Microsoft.SqlServer.Management.Smo. . :: . .BackupDevice
A BackupDevice object that specifies the backup device to be added to the collection.