Share via


Database.EnumBackupSets Method

Returns a DataTable listing the backup sets associated with a database.

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

Syntax

'Declaration
Public Function EnumBackupSets As DataTable
'Usage
Dim instance As Database
Dim returnValue As DataTable

returnValue = instance.EnumBackupSets()
public DataTable EnumBackupSets()
public:
DataTable^ EnumBackupSets()
member EnumBackupSets : unit -> DataTable 
public function EnumBackupSets() : DataTable

Return Value

Type: System.Data.DataTable
A DataTable listing all the backup sets associated with a database.