CheckFileGroup Method
Collapse the table of content
Expand the table of content

FileGroup.CheckFileGroup Method ()


Scans and tests the integrity of database pages maintained in operating system files that implement the file group.

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

public StringCollection CheckFileGroup()

Return Value

Type: System.Collections.Specialized.StringCollection

A StringCollection object value that contains the error messages returned for the integrity test.

The CheckFileGroup method is implemented using the Transact-SQL DBCC CHECKFILEGROUP statement.

Return to top
© 2016 Microsoft