다음을 통해 공유


CheckFileGroup 메서드

파일 그룹을 구현하는 운영 체제 파일에서 유지 관리되는 데이터베이스 페이지의 무결성을 검색하고 테스트합니다.

네임스페이스:  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
무결성 테스트에 대해 반환된 오류 메시지를 포함하는 StringCollection 개체 값입니다.

주의

The CheckFileGroup method is implemented using the Transact-SQL DBCC CHECKFILEGROUP statement.