FileGroup.CheckFileGroupDataOnly Method
Scans and tests the integrity of database pages that are used to maintain table data 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 CheckFileGroupDataOnly As StringCollection
'Usage
Dim instance As FileGroup
Dim returnValue As StringCollection
returnValue = instance.CheckFileGroupDataOnly()
public StringCollection CheckFileGroupDataOnly()
public:
StringCollection^ CheckFileGroupDataOnly()
member CheckFileGroupDataOnly : unit -> StringCollection
public function CheckFileGroupDataOnly() : StringCollection
Return Value
Type: System.Collections.Specialized.StringCollection
A StringCollection object value that contains the error messages returned for the integrity test.
Remarks
The CheckFileGroupDataOnly method is implemented by using the Transact-SQL DBCC CHECKFILEGROUP statement with the NOINDEX option specified.
Examples
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace