ReadMediaHeader méthode
Reads the media header and returns the media header values.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.SmoExtended (dans Microsoft.SqlServer.SmoExtended.dll)
Syntaxe
'Déclaration
Public Function ReadMediaHeader ( _
srv As Server _
) As DataTable
'Utilisation
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
Paramètres
- srv
Type : Microsoft.SqlServer.Management.Smo. . :: . .Server
A Server object that represents the instance of SQL Server that provides access to the targeted media.
Valeur de retour
Type : System.Data. . :: . .DataTable
A DataTable object that specifies the media header data.
Voir aussi