ReadMediaHeader 方法
Enumerates the values of a backup media header record.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Function ReadMediaHeader As DataTable
用法
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
返回值
类型: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.