ReadMediaHeader 方法
Reads the media header and returns the media header values.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)
語法
'宣告
Public Function ReadMediaHeader ( _
srv As Server _
) As DataTable
'用途
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
參數
- srv
型別:Microsoft.SqlServer.Management.Smo. . :: . .Server
A Server object that represents the instance of SQL Server that provides access to the targeted media.
傳回值
型別:System.Data. . :: . .DataTable
A DataTable object that specifies the media header data.