BackupRestoreBase.DatabaseFiles Property
SQL Server 2008
Gets the operating system files targeted by the backup or restore operation.
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Property Value
Type: System.Collections.Specialized.StringCollectionA StringCollection system object value that lists the names of the targeted files. By default, the value is unspecified.
The DatabaseFiles property is only required when the Action property is set to Files. When the Action property is set to Files, either the DatabaseFileGroups property or the DatabaseFiles property must be given a value to indicate which file groups or files to back up or restore.
