ReadMediaHeader Método
Reads the media header and returns the media header values.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)
Sintaxis
'Declaración
Public Function ReadMediaHeader ( _
srv As Server _
) As DataTable
'Uso
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
Parámetros
- srv
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .Server
A Server object that represents the instance of SQL Server that provides access to the targeted media.
Valor devuelto
Tipo: System.Data. . :: . .DataTable
A DataTable object that specifies the media header data.