Compartir a través de


DatabaseFileGroups Propiedad

Gets the SQL Server file groups targeted by the backup or restore operation.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Sintaxis

'Declaración
Public ReadOnly Property DatabaseFileGroups As StringCollection
    Get
'Uso
Dim instance As BackupRestoreBase
Dim value As StringCollection

value = instance.DatabaseFileGroups
public StringCollection DatabaseFileGroups { get; }
public:
property StringCollection^ DatabaseFileGroups {
    StringCollection^ get ();
}
member DatabaseFileGroups : StringCollection
function get DatabaseFileGroups () : StringCollection

Valor de la propiedad

Tipo: System.Collections.Specialized. . :: . .StringCollection
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.