Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

BackupDevice.ReadBackupHeader Method ()


Enumerates the contents of the media maintained by a backup device or operating system file.

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

public DataTable ReadBackupHeader()

Return Value

Type: System.Data.DataTable

A DataTable system object that contains the backup device or operating system file media information.

The ReadBackupHeader method returns the backup header information into a DataTable object. The information returned is dependent on the version of SQL Server and is equivalent to the RESTOR HEADER ONLY Transact-SQL command.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft