ReadFileList Método
Returns the list of database files on the targeted media.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)
Sintaxis
'Declaración
Public Function ReadFileList ( _
srv As Server _
) As DataTable
'Uso
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
Parámetros
- srv
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .Server
A Server object that represents the instance of SQL Server that provides access to the targeted media.
Valor devuelto
Tipo: System.Data. . :: . .DataTable
A DataTable object that specifies the list of database files.