C# 클래스 GSF.IO.FileStructure.ReadSnapshot

Aquires a snapshot of the file system to browse in an isolated mannor. This is read only and will also block the main file from being deleted. Therefore it is important to release this lock so the file can be deleted after a rollover.
파일 보기 프로젝트 열기: GridProtectionAlliance/openHistorian 1 사용 예제들

공개 메소드들

메소드 설명
OpenFile ( SubFileName fileName ) : SubFileStream

Opens a ArchiveFileStream that can be used to read/write to the file passed to this function.

OpenFile ( int fileIndex ) : SubFileStream

Opens a ArchiveFileStream that can be used to read the file passed to this function.

비공개 메소드들

메소드 설명
ReadSnapshot ( DiskIo dataReader ) : System

Creates a readonly copy of a transaction.

메소드 상세

OpenFile() 공개 메소드

Opens a ArchiveFileStream that can be used to read/write to the file passed to this function.
public OpenFile ( SubFileName fileName ) : SubFileStream
fileName SubFileName
리턴 SubFileStream

OpenFile() 공개 메소드

Opens a ArchiveFileStream that can be used to read the file passed to this function.
public OpenFile ( int fileIndex ) : SubFileStream
fileIndex int The index of the file to open.
리턴 SubFileStream