共用方式為


ReadBackupHeader 方法

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)

語法

'宣告
Public Function ReadBackupHeader ( _
    srv As Server _
) As DataTable
'用途
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

參數

傳回值

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