FileGroup.CheckFileGroup 方法
Scans and tests the integrity of database pages maintained in operating system files that implement the file group.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Function CheckFileGroup As StringCollection
'用途
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
傳回值
型別:System.Collections.Specialized.StringCollection
A StringCollection object value that contains the error messages returned for the integrity test.
備註
The CheckFileGroup method is implemented using the Transact-SQL DBCC CHECKFILEGROUP statement.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間