Share via


Api.JetOpenFileInstance 메서드

스트리밍 유사 항목 백업을 수행하기 위해 활성 instance 연결된 데이터베이스, 데이터베이스 패치 파일 또는 트랜잭션 로그 파일을 엽니다. 이러한 파일의 데이터는 나중에 JetReadFileInstance를 사용하여 반환된 핸들을 통해 읽을 수 있습니다. 반환된 핸들은 JetCloseFileInstance를 사용하여 닫혀야 합니다. 이전에 JetBeginExternalBackupInstance를 사용하여 instance 외부 백업을 시작했어야 합니다.

네임스페이스:Microsoft.Isam.Esent.Interop
어셈블리: Microsoft.Isam.Esent.Interop(Microsoft.Isam.Esent.Interop.dll)

구문

'Declaration
Public Shared Sub JetOpenFileInstance ( _
    instance As JET_INSTANCE, _
    file As String, _
    <OutAttribute> ByRef handle As JET_HANDLE, _
    <OutAttribute> ByRef fileSizeLow As Long, _
    <OutAttribute> ByRef fileSizeHigh As Long _
)
'Usage
Dim instance As JET_INSTANCE
Dim file As String
Dim handle As JET_HANDLE
Dim fileSizeLow As Long
Dim fileSizeHigh As LongApi.JetOpenFileInstance(instance, _
    file, handle, fileSizeLow, fileSizeHigh)
public static void JetOpenFileInstance(
    JET_INSTANCE instance,
    string file,
    out JET_HANDLE handle,
    out long fileSizeLow,
    out long fileSizeHigh
)

매개 변수

  • fileSizeLow
    형식: System.Int64

    파일 크기의 최소 32비트 값을 반환합니다.

  • fileSizeHigh
    형식: System.Int64

    파일 크기의 가장 중요한 32비트 를 반환합니다.

추가 정보

참조

Api 클래스

Api 멤버

Microsoft.Isam.Esent.Interop 네임스페이스