共用方式為


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>
)

參數

請參閱

參考

BackupMediaSet 類別

Microsoft.SqlServer.Management.Smo 命名空間