ADO.NET Provider for REST

Build 23.0.8839

DataSource

このプロパティは、リソースロケーションのURI を指定します。

データ型

string

デフォルト値

""

解説

このプロパティは、リソースロケーションのURI を指定します。このプロパティは、URI プロパティへのエイリアスです。 以下は、使用可能なデータソースのURI 形式の例です。

サービスプロバイダURI 形式
Local localPath/file.json

file://localPath/file.xml

HTTP またはHTTPS http://remoteStream

https://remoteStream

Amazon S3 s3://remotePath/file.json
Azure Blob Storage azureblob://mycontainer/myblob
Google Drive gdrive://remotePath/file.xml
Box box://remotePath/file.csv
FTP またはFTPS ftp://server:port/remotePath/file.json

ftps://server:port/remotepath/file.csv

接続文字列の例

以下は、JSON ファイルまたはストリームへの接続文字列の例です。認証のガイドについては、[はじめに]を参照してください。

サービスプロバイダ 接続例 クエリ例(folder1 にfile1.json が含まれているか、streamname1 がJSON ストリームである場合)
Local URI=C:\folder1\file.json; SELECT * FROM file1
HTTP またはHTTPS URI=http://www.host1.com/streamname1; SELECT * FROM streamedtable
Amazon S3 URI=s3://bucket1/folder1/file.json; AWSAccessKey=token1; AWSSecretKey=secret1; AWSRegion=OHIO; SELECT * FROM file1
Azure Blob Storage URI=azureblob://mycontainer/myblob/; AzureAccount=myAccount; AzureAccessKey=myKey; SELECT * FROM file1
Google Drive URI=gdrive://folder1/file.json;InitiateOAuth=GETANDREFRESH;
Box URI=box://folder1/file.json; InitiateOAuth=GETANDREFRESH; SELECT * FROM file1
FTP またはFTPS URI=ftps://localhost:990/folder1/file.json; User=user1; Password=password1; SELECT * FROM file1

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839