共用方式為


EnumBackupSets 方法

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Function EnumBackupSets As DataTable
'用途
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

傳回值

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