다음을 통해 공유


DatabaseFileGroups 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.SmoExtended.dll의 Microsoft.SqlServer.SmoExtended

구문

‘선언
Public ReadOnly Property DatabaseFileGroups As StringCollection
    Get
‘사용 방법
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

속성 값

형식: System.Collections.Specialized. . :: . .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.