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.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Function CheckFileGroupDataOnly As StringCollection
用法
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

返回值

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

注释

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

示例

使用数据库对象

请参阅

参考

FileGroup 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

使用文件和文件组

DBCC CHECKFILEGROUP (Transact-SQL)