Partager via


ReadBackupHeader méthode

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.SmoExtended (dans Microsoft.SqlServer.SmoExtended.dll)

Syntaxe

'Déclaration
Public Function ReadBackupHeader ( _
    srv As Server _
) As DataTable
'Utilisation
Dim instance As Restore
Dim srv As Server
Dim returnValue As DataTable

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

Paramètres

Valeur de retour

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