FileGroup.CheckFileGroup Método
Scans and tests the integrity of database pages maintained in operating system files that implement the file group.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Function CheckFileGroup As StringCollection
'Uso
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
Valor devuelto
Tipo: System.Collections.Specialized.StringCollection
A StringCollection object value that contains the error messages returned for the integrity test.
Comentarios
The CheckFileGroup method is implemented using the Transact-SQL DBCC CHECKFILEGROUP statement.
Ejemplos
Trabajar con objetos de bases de datos
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo