> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenProject

> ABBYY FlexiCapture Web Services API の OpenProject メソッドは、後続の作業で使用するプロジェクトを名前または GUID で開き、開いているプロジェクトの ID を返します。

<div id="what-it-does">
  ## 機能
</div>

プロジェクトを開いて、引き続き作業できるようにします。

<Note>
  開いているプロジェクトは削除できません。プロジェクトを削除するには、まず [CloseProject](/ja/flexi-capture/api/methods/close-project) メソッドを使用してプロジェクトを閉じてください。
</Note>

<div id="definition">
  ## 定義
</div>

```
int OpenProject( int sessionId, string projectNameOrGuid );
```

<div id="parameters">
  ## パラメーター
</div>

| **Name**          | **型**  | **Description**             |
| ----------------- | ------ | --------------------------- |
| sessionId         | int    | Application Server への接続の ID |
| projectNameOrGuid | string | 開くプロジェクトの名前または GUID         |

<div id="returned-value">
  ## 戻り値
</div>

| **型** | **説明**          |
| ----- | --------------- |
| int   | 開いているプロジェクトの ID |
