Share via


Restore.ReadMediaHeader Method

Reads the media header and returns the media header values.

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

Syntax

'Declaration
Public Function ReadMediaHeader ( _
    srv As Server _
) As DataTable
'Usage
Dim instance As Restore
Dim srv As Server
Dim returnValue As DataTable

returnValue = instance.ReadMediaHeader(srv)
public DataTable ReadMediaHeader(
    Server srv
)
public:
DataTable^ ReadMediaHeader(
    Server^ srv
)
member ReadMediaHeader : 
        srv:Server -> DataTable 
public function ReadMediaHeader(
    srv : Server
) : DataTable

Parameters

Return Value

Type: System.Data.DataTable
A DataTable object that specifies the media header data.