ReadMediaHeader Método
Enumerates the values of a backup media header record.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Function ReadMediaHeader As DataTable
'Uso
Dim instance As BackupDevice
Dim returnValue As DataTable
returnValue = instance.ReadMediaHeader()
public DataTable ReadMediaHeader()
public:
DataTable^ ReadMediaHeader()
member ReadMediaHeader : unit -> DataTable
public function ReadMediaHeader() : DataTable
Valor devuelto
Tipo: System.Data. . :: . .DataTable
A DataTable system object that contains the backup media header record.
Comentarios
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.
Vea también