Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Gets the operating system files targeted by the backup or restore operation.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Синтаксис
'Декларация
Public ReadOnly Property DatabaseFiles As StringCollection
public StringCollection DatabaseFiles { get; }
public:
property StringCollection^ DatabaseFiles {
StringCollection^ get ();
}
/** @property */
public StringCollection get_DatabaseFiles ()
public function get DatabaseFiles () : StringCollection
Значение свойства
A 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.
Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.
Пример
How to: Back Up Databases and Transaction Logs in Visual Basic .NET
Синхронизация потоков
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Платформы
Платформы разработки
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
Целевые платформы
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
См. также
Справочник
BackupRestoreBase Class
BackupRestoreBase Members
Microsoft.SqlServer.Management.Smo Namespace
Другие ресурсы
RESTORE (Transact-SQL)
BACKUP (Transact-SQL)
Резервное копирование и восстановление баз данных в SQL Server