Metodo FileGroup.CheckFileGroup
Scans and tests the integrity of database pages maintained 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 CheckFileGroup As StringCollection
'Utilizzo
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
Valore restituito
Tipo: System.Collections.Specialized.StringCollection
A StringCollection object value that contains the error messages returned for the integrity test.
Osservazioni
The CheckFileGroup method is implemented using the Transact-SQL DBCC CHECKFILEGROUP statement.
Esempi
Utilizzo degli oggetti di database
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Management.Smo