Restore.ReadFileList Method
SQL Server 2008
Returns the list of database files on the targeted media.
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Parameters
- srv
- Type: Microsoft.SqlServer.Management.Smo.Server
A Server object that represents the instance of SQL Server that provides access to the targeted media.
Return Value
Type: System.Data.DataTableA DataTable object that specifies the list of database files.
