Metodo FileGroup.CheckFileGroupDataOnly

Scans and tests the integrity of database pages that are used to maintain table data in operating system files that implement the file group.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Function CheckFileGroupDataOnly As StringCollection
'Utilizzo
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

Valore restituito

Tipo: System.Collections.Specialized.StringCollection
A StringCollection object value that contains the error messages returned for the integrity test.

Osservazioni

The CheckFileGroupDataOnly method is implemented by using the Transact-SQL DBCC CHECKFILEGROUP statement with the NOINDEX option specified.

Esempi

Utilizzo degli oggetti di database

Vedere anche

Riferimento

FileGroup Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Utilizzo di file e filegroup

DBCC CHECKFILEGROUP (Transact-SQL)