Метод 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
Параметры
- 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 information about the media contents.