Partager via


Méthode FileGroup.CheckFileGroup

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function CheckFileGroup As StringCollection
'Utilisation
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

Valeur de retour

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

Notes

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

Exemples

Utilisation des objets de base de données

Voir aussi

Référence

FileGroup Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Utilisation des fichiers et des groupes de fichiers

DBCC CHECKFILEGROUP (Transact-SQL)