Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Function CheckFileGroup As StringCollection
'Usage
Dim instance As FileGroup
Dim returnValue As StringCollection
returnValue = instance.CheckFileGroup()
public StringCollection CheckFileGroup()
public:
StringCollection^ CheckFileGroup()
member CheckFileGroup : unit -> StringCollection
public function CheckFileGroup() : StringCollection
Return Value
Type: System.Collections.Specialized.StringCollection
A StringCollection object value that contains the error messages returned for the integrity test.
Remarks
The CheckFileGroup method is implemented using the Transact-SQL DBCC CHECKFILEGROUP statement.
Examples
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace