Aracılığıyla paylaş


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

'Bildirim
Public Function CheckFileGroupDataOnly As StringCollection
'Kullanım
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

Working with Database Objects

See Also

Reference

FileGroup Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Using Files and Filegroups

DBCC CHECKFILEGROUP (Transact-SQL)