Database.EnumBackupSetFiles Method (Int32)

Returns a Data table that lists the files in a backup set

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

Syntax

'Declaration
Public Function EnumBackupSetFiles ( _
    backupSetID As Integer _
) As DataTable
'Usage
Dim instance As Database 
Dim backupSetID As Integer 
Dim returnValue As DataTable 

returnValue = instance.EnumBackupSetFiles(backupSetID)
public DataTable EnumBackupSetFiles(
    int backupSetID
)
public:
DataTable^ EnumBackupSetFiles(
    int backupSetID
)
member EnumBackupSetFiles : 
        backupSetID:int -> DataTable
public function EnumBackupSetFiles(
    backupSetID : int
) : DataTable

Parameters

  • backupSetID
    Type: System.Int32
    A Int32 unique identification number of the file containing the backup set.

Return Value

Type: System.Data.DataTable
A DataTable listing the files in a backup set.

See Also

Reference

Database Class

EnumBackupSetFiles Overload

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Backup Overview (SQL Server)