This topic has not yet been rated - Rate this topic

Restore.ReadFileList Method

Returns the list of database files on the targeted media.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
public DataTable ReadFileList(
	Server srv
)

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.DataTable
A DataTable object that specifies the list of database files.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.