ReadFileList 方法
Returns the list of database files on the targeted media.
命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.SmoExtended(在 Microsoft.SqlServer.SmoExtended.dll 中)
语法
声明
Public Function ReadFileList ( _
    srv As Server _
) As DataTable
用法
Dim instance As Restore
Dim srv As Server
Dim returnValue As DataTable
returnValue = instance.ReadFileList(srv)
public DataTable ReadFileList(
    Server srv
)
public:
DataTable^ ReadFileList(
    Server^ srv
)
member ReadFileList : 
        srv:Server -> DataTable 
public function ReadFileList(
    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 list of database files.