ここでは、CData BizTalk Adapter for AzureSynapse を使用し、静的な要請応答送信ポートを作成、構成、テストする手順を説明します。静的な要請応答送信ポートを使用してコマンドを実行し、BizTalk の結果にアクセスすることができます。送信ポートを使用することで、アップデートグラムコマンド、SQL コマンド、ストアドプロシージャ操作を実行できます。
送信ポートを作成し構成する
静的な要請応答送信ポートを作成し、アダプタをトランスポートタイプとして使用するように構成します。
- 未実行の場合、BizTalk 管理コンソールで BizTalk アプリケーションを開きます。
- BizTalk アプリのノードで、[Send Ports]を右クリックし、[New]->[Static Solicit-Response Send Port]を選択すると、送信ポートプロパティのダイアログが表示されます。
- 送信ポートのプロパティで、受信ポートの名前を入力します。
- [Transport Type]メニューで、CData.AzureSynapse を選択します。
- [Send Pipeline]メニューで、デフォルトオプションの[PassThruTransmit]を選択します。
- [Receive Pipeline]メニューで、デフォルトオプションの[PassThruReceive]を選択します。
アダプタを構成する
[Transport Properties]ダイアログで、アダプタが実行するコマンドを定義します。
- 送信ポートのプロパティで、[Configure]ボタンをクリックします。アダプタのトランスポートプロパティダイアログが表示されます。
- [CommandType]プロパティで、実行したいコマンドタイプを選択します。
- SQL コマンドを実行したい場合は、[SQL Command]のボックスにコマンドを入力してください。
プロパティとその機能についての説明は、ヘルプドキュメントの[Adapter Configuration]を参照してください。
Azure Synapse への接続を構成する
[Connection String Options]ダイアログで、Azure Synapse への接続に必要な資格情報とその他のプロパティを設定します。
- 送信ポートのプロパティで、[Configure]をクリックします。アダプタのプロパティダイアログが表示されます。
- [Connection String]プロパティのボタンをクリックします。[Connection String Options]ダイアログが表示されます。
- 接続プロパティを入力します。下は一般的な接続文字列です。
User=myuser;Password=mypassword;Server=localhost;Database=Northwind;
Connecting to Azure Synapse
In addition to providing authentication (see below), set the following properties to connect to a Azure Synapse database:
- Server: The server running Azure. You can find this by logging into the Azure portal and navigating to Azure Synapse Analytics -> Select your database -> Overview -> Server name.
- Database: The name of the database, as seen in the Azure portal on the Azure Synapse Analytics page.
Authenticating to Azure Synapse
Connect to Azure Synapse using the following properties:
- User: The username provided for authentication with Azure.
- Password: The password associated with the authenticating user.
- [Test Connection]をクリックして値を確認し、接続を確認します。
プロパティとその機能の説明については、ヘルプドキュメントの[Connection String Options]チャプターを参照してください。
[
アダプタfor AzureSynapse のアップデートグラムチュートリアル]では、要請応答送信ポートを使用して、Azure Synapse にアップデートグラムを挿入するシンプルなアプリケーションを作成する手順を説明します。