CheckIndex 메서드
Tests the integrity of database pages that store the index.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo
구문
‘선언
Public Function CheckIndex As StringCollection
‘사용 방법
Dim instance As Index
Dim returnValue As StringCollection
returnValue = instance.CheckIndex()
public StringCollection CheckIndex()
public:
StringCollection^ CheckIndex()
member CheckIndex : unit -> StringCollection
public function CheckIndex() : StringCollection
반환 값
형식: System.Collections.Specialized. . :: . .StringCollection
A StringCollection object value that contains the error messages generated by the integrity check.
주의
The CheckIndex method is implemented using the Transact-SQL DBCC CHECKTABLE statement.
[!참고]
Indexes based on the UserDefinedTableType object cannot be checked and running this method will generate an exception.