Partager via


ReadFileList méthode

Returns the list of database files on the targeted media.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.SmoExtended (dans Microsoft.SqlServer.SmoExtended.dll)

Syntaxe

'Déclaration
Public Function ReadFileList ( _
    srv As Server _
) As DataTable
'Utilisation
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

Paramètres

Valeur de retour

Type : System.Data. . :: . .DataTable
A DataTable object that specifies the list of database files.