Export (0) Print
Expand All

BackupDevice.ReadMediaHeader Method ()

 

Applies To: SQL Server 2016 Preview

Enumerates the values of a backup media header record.

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

public DataTable ReadMediaHeader()

Return Value

Type: System.Data.DataTable

A DataTable system object that contains the backup media header record.

The ReadMediaHeader method returns the backup media header record in a DataTable object. The information returned is dependent on the version of SQL Server and is equivalent to the RESTOR LABEL ONLY Transact-SQL command.

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