Export (0) Print
Expand All

Restore.ReadBackupHeader Method

Reads the backup header and returns information about the media contents.

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

public DataTable ReadBackupHeader(
	Server srv
)

Parameters

srv
Type: Microsoft.SqlServer.Management.Smo.Server
A Server object that represents the instance of SQL Server that provides access to the targeted media.

Return Value

Type: System.Data.DataTable
A DataTable object that specifies information about the media contents.

Community Additions

ADD
Show:
© 2014 Microsoft