BackupRestoreBase.DatabaseFileGroups Property
Gets the Microsoft SQL Server file groups targeted by the backup or restore operation.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Sintaxis
'Declaración
Public ReadOnly Property DatabaseFileGroups As StringCollection
public StringCollection DatabaseFileGroups { get; }
public:
property StringCollection^ DatabaseFileGroups {
StringCollection^ get ();
}
/** @property */
public StringCollection get_DatabaseFileGroups ()
public function get DatabaseFileGroups () : StringCollection
Valor de propiedad
A StringCollection system object value that lists the names of the targeted file groups. By default, the value is unspecified.
Notas
The DatabaseFileGroups 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.
Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.
Ejemplo
How to: Back Up Databases and Transaction Logs in Visual Basic .NET
Seguridad para subprocesos
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.
Plataformas
Plataformas de desarrollo
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Plataformas de destino
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Vea también
Referencia
BackupRestoreBase Class
BackupRestoreBase Members
Microsoft.SqlServer.Management.Smo Namespace
Otros recursos
RESTORE (Transact-SQL)
BACKUP (Transact-SQL)
Realizar copias de seguridad y restaurar bases de datos en SQL Server