BackupMediaSet 建構函式
Initializes a new instance of the BackupMediaSet class.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub New ( _
server As Server, _
backupMediaList As List(Of BackupMedia) _
)
'用途
Dim server As Server
Dim backupMediaList As List(Of BackupMedia)
Dim instance As New BackupMediaSet(server, _
backupMediaList)
public BackupMediaSet(
Server server,
List<BackupMedia> backupMediaList
)
public:
BackupMediaSet(
Server^ server,
List<BackupMedia^>^ backupMediaList
)
new :
server:Server *
backupMediaList:List<BackupMedia> -> BackupMediaSet
public function BackupMediaSet(
server : Server,
backupMediaList : List<BackupMedia>
)
參數
- server
型別:Microsoft.SqlServer.Management.Smo.Server
The server.
- backupMediaList
型別:System.Collections.Generic.List<BackupMedia>
The backup media list.