Export (0) Print
Expand All

BackupRestoreBase.DatabaseFileGroups Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

public StringCollection DatabaseFileGroups { get; }

Property Value

Type: StringCollection
A StringCollection system object value that lists the names of the targeted file groups. By default, the value is unspecified.

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft