CData Cloud は、クラウドホスト型のソリューションで、複数の標準サービスやプロトコルにまたがるMicrosoft Exchange へのアクセスを実現します。MySQL またはSQL Server データベースに接続できるアプリケーションであれば、CData Cloud を介してMicrosoft Exchange に接続できます。
CData Cloud により、他のOData エンドポイントや標準SQL Server / MySQL データベースと同じように、Microsoft Exchange への接続を標準化し、構成することができます。
このページでは、CData Cloud でのMicrosoft Exchange への接続の確立 のガイド、利用可能なリソースに関する情報、および使用可能な接続プロパティのリファレンスについて説明します。
接続の確立 は、CData Cloud にデータベースを作成するためのMicrosoft Exchange への認証方法と必要な接続プロパティの設定方法について示します。
利用可能な標準サービスを経由してMicrosoft Exchange からデータにアクセスする方法と、CData Cloud の管理については、CData Cloud ドキュメント で詳しく説明します。
Database タブで対応するアイコンを選択して、Microsoft Exchange に接続します。必須プロパティはSettings にリストされています。Advanced タブには、通常は必要ない接続プロパティが表示されます。
Exchange への接続には2つのスキーマがあります。
それぞれのスキーマのデータモデルについては、[データモデル]を参照してください。
EWS とMicrosoft Graph を切り替えるには、Schema をEWS またはMSGraph に設定します。
EWS の使用を続けるExchange Online ユーザーは、Schema をEWS に設定し、Platform をExchange_Online に設定します。
EWS を介してExchange Online プラットフォームに接続する場合は、AuthScheme をAzureAD、AzureServicePrincipal、 AzureMSI のいずれかに設定します。
Microsoft Graph を介してExchange Online に接続する場合は、Schema をMSGraph に設定します。
Web アプリケーションを介したAzure AD への認証には、 常にカスタムOAuth アプリケーションの作成が必要です。
カスタムOAuthアプリケーションの作成の詳細については、Azure AD アプリケーションの作成 を参照してください。
Azure サービスプリンシパルは、ロールに基づいたアプリケーションベースの認証です。これは、認証がユーザーごとではなく、アプリケーションごとに行われることを意味します。 アプリケーションで実行されるすべてのタスクは、デフォルトユーザーコンテキストなしで、割り当てられたロールに基づいて実行されます。 リソースへのアプリケーションのアクセスは、割り当てられたロールの権限によって制御されます。
Azure サービスプリンシパル認証の設定方法については、サービスプリンシパルによるAzure AD アプリの作成 を参照してください。
Azure VM 上でMicrosoft Exchange を実行しており、マネージドID(MSI)認証情報を自動的に取得して接続したい場合は、AuthScheme を AzureMSI に設定します。
VM に複数のユーザーが割り当てられたマネージドID がある場合は、OAuthClientId も指定する必要があります。
CData Cloud を使用してMSGraph Schema で管理タスクを実行できます。これは、CUD 操作を実行するためにUserId カラムを指定することで行います。
多くのテーブルは特別なUserId カラムを公開しています。これは、管理者が他のユーザーアカウントのレコードを変更するために使用するようにデザインされています。
自分が管理者ではない場合、またはこの動作を望まない場合は、INSERT / UPDATE / DELETE 操作を実行するときにUserId を指定しないでください。
例えば、次のコマンドを実行すると、他のユーザーの連絡先が挿入されます。
INSERT INTO Contacts (displayName, CompanyName, UserId) VALUES ('Bill', 'Bob Co', '12345')
上記のリクエストは、/users/12345/contacts のリソースの下に連絡先を追加しようとする全体的な効果があります。UserId が指定されていない場合、 影響を受けるリソースは代わりに/users/me/contacts の下に変更されます。一般的に、管理者でない場合は/users/me 下のレコードにしか影響を与えたり 表示したりできないので、管理者でない場合はUserId を設定することはお勧めできません。
Note:特定のクエリの'OR' 演算子と組み合わせてUserId を指定することはサポートされていません。別の方法として、'UNION' を使うと同じ結果セットを取得できます。
Note:以下は、Schema がEWS に設定されているときの動作について説明します。MSGraph には影響しません。
SELECT ItemId, Surname, EmailAddress1 FROM Contacts WHERE Surname='Smith'
メッセージの内容、もしくは連絡先やカレンダーイベントの詳細情報をリクエストするには、IncludeContent をTRUE に設定するか、アイテムのItemId を指定するか、結果を一つのアイテムに制限する必要があります。次に例を示します。
SELECT ItemId, Surname, EmailAddress1 FROM Contacts WHERE ItemId='AZQ111222...'OR
SELECT ItemId, Surname, EmailAddress1 FROM Contacts WHERE ItemdId IN ('AZQ111222...', 'AZQ111223...', 'AZQ111224...', 'AZQ111225...')
OR
SELECT ItemId, Surname, EmailAddress1 FROM Contacts WHERE Surname='Smith' LIMIT 1
Inbox のサブフォルダのFolderId を探す:
SELECT DisplayName, FolderId FROM InboxContact を含むカスタムフォルダのFolderId を探す:
SELECT DisplayName, FolderId FROM Contacts WHERE ParentFolderName='publicfoldersroot'
パブリックフォルダがネストされている場合、親カスタムフォルダには別のSELECT クエリをする必要があります。
SELECT DisplayName, FolderId FROM Contacts WHERE ParentFolderId='AAEuAAAAAAAa...'
Inbox のサブフォルダへの挿入:
INSERT INTO Inbox (Subject, FromEmailAddress, ToRecipients_EmailAddress, ParentFolderId) VALUES ('New email message', '[email protected]', '[email protected]', 'AAEuAAAAAAAa...')
Contact を含むパブリックフォルダへの挿入:
INSERT INTO Contacts (GivenName, Surname, EmailAddress1, ParentFolderId) VALUES ('Jill', 'Smith', '[email protected]', 'AAEuAAAAAAAa...')
カスタムフォルダのメッセージアイテムの更新:
UPDATE Inbox SET Subject = 'Updated email message' WHERE ItemID = 'AZQ111222...')パブリックフォルダのContact アイテムの削除:
DELETE FROM Contacts WHERE ItemID = 'AZQ111222...')
この認証方法は、通常は管理者がサービスアカウントによるアクセスを構成するために使用されます。
すべてのリクエストを偽装するには、接続時に次の接続プロパティを設定します。
個々のクエリに対してユーザーを偽装するには、同じ名前の疑似カラムを使用します。
デフォルトでは、Cloud はサーバーとのTLS のネゴシエーションを試みます。サーバー証明書は、デフォルトのシステム信頼済み証明書ストアで検証されます。SSLServerCert 接続プロパティを使用して、証明書の検証方法をオーバーライドできます。
別の証明書を指定するには、SSLServerCert 接続プロパティを参照してください。
HTTP プロキシへの認証には、以下のように設定します。
次のプロパティを設定します。
CData Cloud は、Microsoft Exchange 2 およびMicrosoft Exchange API をリレーショナルテーブル、ビュー、およびストアドプロシージャとしてモデル化します。これらは、簡単なテキストベースのコンフィギュレーションファイルであるスキーマファイルにて定義されます。
利用可能なエンティティ、およびこれらのエンティティをクエリするためのAPI の制限および要件については、EWS データモデル およびMSGraph データモデル で説明します。
データモデルは、Microsoft Exchange 環境がどのように見えるかの例を示します。実際のデータモデルは、Microsoft Exchange アカウントに基づいて動的に取得されます。
EWS データモデル では、EWS を使用してMicrosoft Exchange OnPremise およびMicrosoft Exchange Online に接続するために使用できるスキーマについて説明します。テーブルを使用して、ライブMicrosoft Exchange データを操作できます。CData Cloud が提供するストアドプロシージャを使用して、Microsoft Exchange データの操作を自動化できます。
MSGraph データモデル では、Microsoft Graph 経由でMicrosoft Exchange Online アカウントに接続するために使用できるスキーマについて説明します。テーブルを使用して、ライブMicrosoft Exchange データを操作できます。CData Cloud が提供するストアドプロシージャを使用して、Microsoft Exchange データの操作を自動化できます。
CData Cloud は、Microsoft Exchange エンティティをリレーショナルなテーブル およびストアドプロシージャ にモデル化します。これらは、簡単なテキストベースのコンフィギュレーションファイルであるスキーマファイルにて定義されます。
このセクションでは、API の制限および要件について説明します。既定のSupportEnhancedSQL 機能を使って、これらの制限の大半を回避できます。
ストアドプロシージャはMicrosoft Exchange のファンクションライクなインターフェースです。これらを使用して、Microsoft Exchange 内の情報を検索、更新、および変更できます。
Cloud はMicrosoft Exchange のデータを、標準のSQL ステートメントを使用してクエリできるリレーショナルデータベースのテーブルのリストとしてモデル化します。
| Name | Description |
| Calendar | Create, update, delete, and query Calendar items. |
| Calendar_OptionalAttendees | The optional attendees for a particular event. An ItemId must be specified when querying this view. |
| Calendar_RequiredAttendees | The required attendees for a particular event. An ItemId must be specified when querying this view. |
| Contacts | Create, update, delete, and query Contacts items. |
| DeletedItems | Create, update, delete, and query Deleted Items. |
| Drafts | Create, update, delete, and query Drafts items. |
| Folders | Create, update, delete, and query subfolders for a given folder. |
| Inbox | Create, update, delete, and query Inbox items. |
| JunkEmail | Create, update, delete, and query Junk Email items. |
| Outbox | Create, update, delete, and query Outbox items. |
| SentItems | Create, update, delete, and query Sent Items. |
| Tasks | Create, update, delete, and query Tasks items. |
Create, update, delete, and query Calendar items.
Cloud では、アイテムの更新および削除にはItemChangeKey が必要です。ただし、ItemChangeKey が不明な場合には、Cloud は自動的にExchange サーバーからこれを取得することができます。 これはクエリ実行にかかる時間を増加させることに注意してください。
Calendar テーブルでSELECT 処理を実行するとき、Cloud は個別の定期的なイベントをデフォルトで含めません(マスターアイテムのみが含まれます)。
クエリには次のようなWHERE 句を含む必要があります:
SELECT Subject, IsRecurring, Recurrence_StartDate, Recurrence_EndDate, Recurrence_Interval, Recurrence_Type, Recurrence_NumberOfOccurrences, FirstOccurrence_Start FROM Calendar WHERE ItemId = 'myid'If you wish to view the individual recurrences of a recurring event, you'll need to add filters START and END with greaterthan and lessthan operators respectively. The interval between START and END should not be more than 2 years. The API will return atmost 1000 entries for recurring events. Please give the interval between START and END filters accordingly. Your query will need to include a WHERE clause similar to the following:
SELECT * FROM Calendar WHERE start >= '2021-05-11 00:50:59.0' AND end <= '2023-02-28 11:20:30.0'
| Name | Type | ReadOnly | Description |
| ItemId [KEY] | String | True |
Contains the unique identifier of an item in the Exchange store. This property is read-only. |
| MimeContent | String | True |
Contains the native Multipurpose Internet Mail Extensions (MIME) stream of an object that is represented in Base64 binary format. |
| ItemChangeKey | String | True |
Contains the unique change key of an item in the Exchange store. This property is read-only. |
| ParentFolderId | String | False |
Represents the unique identifier of the parent folder that contains the item or folder. This property is read-only. |
| ParentFolderChangeKey | String | True |
Represents the unique change key of the parent folder that contains the item or folder. This property is read-only. |
| ItemClass | String | False |
Represents the message class of an item. |
| Subject | String | False |
Represents the subject for Exchange store items and response objects. The subject is limited to 255 characters. |
| Sensitivity | String | True |
Indicates the sensitivity level of an item. |
| Body | String | False |
Body of the Calendar Item. |
| DateTimeReceived | Datetime | True |
Represents the date and time that an item in a mailbox was received. |
| Size | Integer | True |
Represents the size in bytes of an item. This property is read-only. |
| Categories | String | False |
Represents a collection of strings that identify to which categories an item in the mailbox belongs. |
| Importance | String | False |
Describes the importance of an item. |
| InReplyTo | String | True |
Represents the identifier of the item to which this item is a reply. |
| IsSubmitted | Boolean | True |
Indicates whether an item has been submitted to the Outbox default folder. |
| IsDraft | Boolean | True |
Represents whether an item has not yet been sent. |
| IsFromMe | Boolean | True |
Indicates whether a user sent an item to himself or herself. |
| IsResend | Boolean | True |
Indicates whether the item had previously been sent. |
| IsUnmodified | Boolean | True |
Indicates whether the item has been modified. |
| InternetMessageHeaders | String | True |
Represents the collection of all Internet message headers that are contained within an item in a mailbox. |
| DateTimeSent | Datetime | True |
Represents the date and time that an item in a mailbox was sent. |
| DateTimeCreated | Datetime | True |
Represents the date and time that a given item in the mailbox was created. |
| ReminderDueBy | Datetime | False |
Represents the date and time when the event occurs. |
| ReminderIsSet | Boolean | False |
Indicates whether a reminder has been set for an item in the Exchange store. |
| ReminderMinutesBeforeStart | Integer | False |
Represents the number of minutes before an event occurs when a reminder is displayed. |
| DisplayCc | String | True |
Represents the display string that is used for the contents of the To box. This is the concatenated string of all To recipient display names. |
| DisplayTo | String | True |
Represents a property that is set to true if an item has at least one visible attachment. This property is read-only. |
| HasAttachments | Boolean | True |
Indicates whether an item has attachments. |
| Culture | String | False |
Represents the Culture of an item. |
| Start | Datetime | False |
Represents the start of a duration. |
| End | Datetime | False |
Represents the end of a duration. |
| OriginalStart | Datetime | False |
Represents the original start time of a calendar item. |
| IsAllDayEvent | Boolean | False |
Indicates whether a calendar item or meeting request represents an all-day event. |
| LegacyFreeBusyStatus | String | False |
Represents the free/busy status of the calendar item. |
| Location | String | False |
Represents the location of a meeting, appointment, or persona. |
| When | String | False |
Provides information about when a calendar or meeting item occurs. |
| IsMeeting | Boolean | False |
Indicates whether the calendar item is a meeting or an appointment. |
| IsCancelled | Boolean | False |
Indicates whether an appointment or meeting has been cancelled. |
| IsRecurring | Boolean | True |
Indicates whether a calendar item, meeting request, or task is part of a recurring item. This element is read-only. |
| MeetingRequestWasSent | Boolean | True |
Indicates whether a meeting request has been sent to requested attendees. |
| IsResponseRequested | Boolean | True |
Indicates whether a response to an item is requested. |
| CalendarItemType | String | True |
Represents the type of a calendar item. |
| MyResponseType | String | False |
Contains the status of or response to a calendar item. |
| OrganizerName | String | False |
Defines the name of the mailbox user. |
| OrganizerEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the Organizer mailbox user. |
| OrganizerRoutingType | String | False |
Defines the routing that is used for the Organizer mailbox. The default is SMTP. |
| ConflictingMeetingCount | Integer | True |
Represents the number of meetings that conflict with the calendar item. |
| AdjacentMeetingCount | Integer | True |
Represents the total number of calendar items that are adjacent to a meeting time. |
| Duration | String | True |
Represents the duration of a calendar item. |
| TimeZone | String | True |
Provides a text description of a time zone. |
| AppointmentReplyTime | Datetime | False |
Represents the date and time that an attendee replied to a meeting request. |
| AppointmentSequenceNumber | String | False |
Specifies the sequence number of a version of an appointment. |
| AppointmentState | String | True |
Specifies the status of the appointment. |
| Recurrence_Type | String | False |
Contains the recurrence type for calendar items and meeting requests. 使用できる値は次のとおりです。RelativeYearlyRecurrence, AbsoluteYearlyRecurrence, RelativeMonthlyRecurrence, AbsoluteMonthlyRecurrence, WeeklyRecurrence, DailyRecurrence |
| Recurrence_DaysOfWeek | String | False |
Describes days of the week that are used in item recurrence patterns. |
| Recurrence_DayOfWeekIndex | String | False |
Describes which week in a month is used in a relative yearly recurrence pattern. 使用できる値は次のとおりです。First, Second, Third, Fourth, Last |
| Recurrence_Month | String | False |
Describes the month when a yearly recurring item occurs. |
| Recurrence_DayOfMonth | Integer | False |
Describes the day in a month on which a recurring item occurs. |
| Recurrence_Interval | Integer | False |
Defines the interval between two consecutive recurring items. |
| Recurrence_FirstDayOfWeek | String | False |
Specifies the first day of the week. |
| Recurrence_Duration | String | False |
Contains the recurrence duration type for calendar items and meeting requests. 使用できる値は次のとおりです。NoEndRecurrence, EndDateRecurrence, NumberedRecurrence |
| Recurrence_StartDate | Date | False |
Represents the start date of a recurring task or calendar item. |
| Recurrence_EndDate | Date | False |
Represents the end date of a recurring task or calendar item. |
| Recurrence_NumberOfOccurrences | Integer | False |
Contains the number of occurrences of a recurring item. |
| FirstOccurrence_ItemId | String | False |
Contains the unique identifier of the last occurrence of a recurring calendar item. |
| FirstOccurrence_Start | Datetime | False |
Represents the start time of the last occurrence of a recurring calendar item. |
| FirstOccurrence_End | Datetime | False |
Represents the end time of the last occurrence of a recurring calendar item. |
| FirstOccurrence_OriginalStart | Datetime | False |
Represents the original start time of the last occurrence of a recurring calendar item. |
| LastOccurrence_ItemId | String | False |
Contains the unique identifier of the last occurrence of a recurring calendar item. |
| LastOccurrence_Start | Datetime | False |
Represents the start time of the last occurrence of a recurring calendar item. |
| LastOccurrence_End | Datetime | False |
Represents the end time of the last occurrence of a recurring calendar item. |
| LastOccurrence_OriginalStart | Datetime | False |
Represents the original start time of the last occurrence of a recurring calendar item. |
| ModifiedOccurrences_Aggregate | String | True |
Modified occurrences of the calendar, as aggregate. |
| DeletedOccurrences_Aggregate | String | True |
Deleted occurrences as aggregate. |
| StartTimeZone_Id | String | True |
Represents the unique identifier of the time zone definition for the start time. |
| StartTimeZone_Name | String | True |
Represents the descriptive name of the time zone definition for the start time. |
| EndTimeZone_Id | String | True |
Represents the unique identifier of the time zone definition for the end time. |
| EndTimeZone_Name | String | True |
Represents the descriptive name of the time zone definition for the end time. |
| ConferenceType | Integer | False |
Describes the type of conferencing that is performed with a calendar item (0 = NetMeeting, 1 = NetShow, 2 = Chat. |
| AllowNewTimeProposal | Boolean | False |
Indicates whether a new meeting time can be proposed for a meeting by an attendee. |
| IsOnlineMeeting | Boolean | False |
Indicates whether the meeting is online. |
| MeetingWorkspaceUrl | String | False |
Contains the URL for the meeting workspace that is linked to by the calendar item. |
| NetShowUrl | String | False |
Specifies the URL for a Microsoft NetShow online meeting. |
| EffectiveRights_CreateAssociated | Boolean | True |
Indicates whether a client can create an associated contents table. |
| EffectiveRights_CreateContents | Boolean | True |
Indicates whether a client can create a contents table. |
| EffectiveRights_CreateHierarchy | Boolean | True |
Indicates whether a client can create a hierarchy table. |
| EffectiveRights_Delete | Boolean | True |
Indicates whether a client can delete a folder or item. |
| EffectiveRights_Modify | Boolean | True |
Indicates whether a client can modify a folder or item. |
| EffectiveRights_Read | Boolean | True |
Indicates whether a client can read a folder or item. |
| EffectiveRights_ViewPrivateItems | Boolean | True |
Indicates whether a private item can be viewed. |
| LastModifiedName | String | True |
Contains the display name of the last user to modify an item. |
| LastModifiedTime | Datetime | True |
Indicates when an item was last modified. |
| IsAssociated | Boolean | False |
Indicates whether the item is associated with a folder. |
| WebClientReadFormQueryString | String | True |
Represents a URL to concatenate to the Microsoft Office Outlook Web App endpoint to read an item in Outlook Web App. |
| WebClientEditFormQueryString | String | True |
Represents a URL to concatenate to the Outlook Web App endpoint to edit an item in Outlook Web App. |
| ConversationId | String | True |
Contains the identifier of an item or conversation. |
| ConversationChangeKey | String | True |
Contains the change key of an item or conversation. |
| UniqueBody | String | True |
Represents an HTML fragment or plain-text which represents the unique body of this conversation. |
| UniqueBodyType | String | True |
Describes how the unique item body is stored in the item (HTML or TEXT). |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| ImpersonationUser | String |
The Identifier of the user to impersonate. |
| ImpersonationType | String |
The type of Identifier used for the impersonation user (PrincipalName, SID, PrimarySmtpAddress, SmtpAddress). |
| SendMeetingInvitations | String |
The allowed values are SendToNone, SendOnlyToAll, and SendToAllAndSaveCopy. The default is SendToNone. |
| SendCancellationsMode | String |
The allowed values are SendToNone, SendOnlyToAll, and SendToAllAndSaveCopy. The default is SendToNone. |
| SharedMailboxEmail | String |
The email of a shared mailbox. Use this to retrieve the calendar events in a shared mailbox. |
The optional attendees for a particular event. An ItemId must be specified when querying this view.
Cloud では、アイテムの更新および削除にはItemChangeKey が必要です。ただし、ItemChangeKey が不明な場合には、Cloud は自動的にExchange サーバーからこれを取得することができます。 これはクエリ実行にかかる時間を増加させることに注意してください。
Calendar テーブルでSELECT 処理を実行するとき、Cloud は個別の定期的なイベントをデフォルトで含めません(マスターアイテムのみが含まれます)。
定期的なイベントの個別の繰り返しを参照したい場合、IsRecurring カラムでフィルタリングを行い、Start およびEnd を指定して時間を指定する必要があります。
クエリには次のようなWHERE 句を含む必要があります:
INSERT INTO Calendar_OptionalAttendees (EmailAddress, ItemId, SendMeetingInvitations) VALUES ('[email protected]', 'itemid', 'SendOnlyToChanged')
| Name | Type | ReadOnly | Description |
| EmailAddress [KEY] | String | False | |
| ItemId [KEY] | String | False | |
| Name | String | False |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| ImpersonationUser | String |
The Identifier of the user to impersonate. |
| ImpersonationType | String |
The type of Identifier used for the impersonation user (PrincipalName, SID, PrimarySmtpAddress, SmtpAddress). |
| SendMeetingInvitations | String |
The allowed values are SendToNone, SendOnlyToAll, SendOnlyToChanged and SendToAllAndSaveCopy. The default is SendToNone. |
The required attendees for a particular event. An ItemId must be specified when querying this view.
INSERT 操作を実行する場合は、EmailAddress およびItemId を指定する必要があります。また、SendMeetingInvitations というプロパティで、必要な出席者を挿入したときに誰に通知するかを決定できます。
INSERT INTO Calendar_RequiredAttendees (EmailAddress, ItemId, SendMeetingInvitations) VALUES ('[email protected]', 'itemid', 'SendOnlyToChanged')
| Name | Type | ReadOnly | Description |
| EmailAddress [KEY] | String | False | |
| ItemId | String | False | |
| Name | String | False |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| ImpersonationUser | String |
The Identifier of the user to impersonate. |
| ImpersonationType | String |
The type of Identifier used for the impersonation user (PrincipalName, SID, PrimarySmtpAddress, SmtpAddress). |
| SendMeetingInvitations | String |
The allowed values are SendToNone, SendOnlyToAll, SendOnlyToChanged and SendToAllAndSaveCopy. The default is SendToNone. |
Create, update, delete, and query Contacts items.
Cloud では、アイテムの更新および削除にはItemChangeKey が必要です。ただし、ItemChangeKey が不明な場合には、Cloud は自動的にExchange サーバーからこれを取得することができます。 これはクエリ実行にかかる時間を増加させることに注意してください。
| Name | Type | ReadOnly | Description |
| ItemId [KEY] | String | True |
Contains the unique identifier of an item in the Exchange store. This property is read-only. |
| MimeContent | String | True |
Contains the native Multipurpose Internet Mail Extensions (MIME) stream of an object that is represented in Base64 binary format. |
| ItemChangeKey | String | True |
Contains the unique change key of an item in the Exchange store. This property is read-only. |
| ParentFolderId | String | False |
Represents the unique identifier of the parent folder that contains the item or folder. This property is read-only. |
| ParentFolderChangeKey | String | True |
Represents the unique change key of the parent folder that contains the item or folder. This property is read-only. |
| ItemClass | String | False |
Represents the message class of an item. |
| Subject | String | False |
Represents the subject for Exchange store items and response objects. The subject is limited to 255 characters. |
| Sensitivity | String | True |
Indicates the sensitivity level of an item. |
| Body | String | False |
Represents the actual body content of a message. |
| DateTimeReceived | Datetime | True |
Represents the date and time that an item in a mailbox was received. |
| Size | Integer | True |
Represents the size in bytes of an item. This property is read-only. |
| Categories | String | False |
Represents a collection of strings that identify to which categories an item in the mailbox belongs. |
| Importance | String | False |
Describes the importance of an item. |
| IsSubmitted | Boolean | True |
Indicates whether an item has been submitted to the Outbox default folder. |
| InReplyTo | String | True |
Represents the identifier of the item to which this item is a reply. |
| IsDraft | Boolean | True |
Represents whether an item has not yet been sent. |
| IsFromMe | Boolean | True |
Indicates whether a user sent an item to himself or herself. |
| IsResend | Boolean | True |
Indicates whether the item had previously been sent. |
| IsUnmodified | Boolean | True |
Indicates whether the item has been modified. |
| InternetMessageHeaders | String | True |
Represents the collection of all Internet message headers that are contained within an item in a mailbox. |
| DateTimeSent | Datetime | True |
Represents the date and time that an item in a mailbox was sent. |
| DateTimeCreated | Datetime | True |
Represents the date and time that a given item in the mailbox was created. |
| ReminderDueBy | Datetime | False |
Represents the date and time when the event occurs. |
| ReminderIsSet | Boolean | False |
Indicates whether a reminder has been set for an item in the Exchange store. |
| ReminderMinutesBeforeStart | Integer | False |
Represents the number of minutes before an event occurs when a reminder is displayed. |
| DisplayCc | String | True |
Represents the display string that is used for the contents of the Cc box. This is the concatenated string of all Cc recipient display names. |
| DisplayTo | String | True |
Represents the display string that is used for the contents of the To box. This is the concatenated string of all To recipient display names. |
| HasAttachments | Boolean | True |
Represents a property that is set to true if an item has at least one visible attachment. This property is read-only. |
| Culture | String | False |
Represents the culture for a given item in a mailbox. |
| EffectiveRights_CreateAssociated | Boolean | True |
Indicates whether a client can create an associated contents table. |
| EffectiveRights_CreateContents | Boolean | True |
Indicates whether a client can create a contents table. |
| EffectiveRights_CreateHierarchy | Boolean | True |
Indicates whether a client can create a hierarchy table. |
| EffectiveRights_Delete | Boolean | True |
Indicates whether a client can delete a folder or item. |
| EffectiveRights_Modify | Boolean | True |
Indicates whether a client can modify a folder or item. |
| EffectiveRights_Read | Boolean | True |
Indicates whether a client can read a folder or item. |
| EffectiveRights_ViewPrivateItems | Boolean | True |
Indicates whether a private item can be viewed. |
| LastModifiedName | String | True |
Contains the display name of the last user to modify an item. |
| LastModifiedTime | Datetime | True |
Indicates when an item was last modified. This element is read-only. |
| IsAssociated | Boolean | False |
Indicates whether the item is associated with a folder. |
| WebClientReadFormQueryString | String | True |
Represents a URL to concatenate to the Microsoft Office Outlook Web App endpoint to read an item in Outlook Web App. |
| WebClientEditFormQueryString | String | True |
Represents a URL to concatenate to the Outlook Web App endpoint to edit an item in Outlook Web App. |
| ConversationId | String | True |
Identifies a specific conversation in the Exchange store. |
| UniqueBody | String | True |
Represents an HTML fragment or plain-text which represents the unique body of this conversation. |
| UniqueBodyType | String | True |
Describes how the unique item body is stored in the item (HTML or TEXT). |
| FileAs | String | False |
Represents how a contact or distribution list is filed in the Contacts folder. |
| FileAsMapping | String | False |
Defines how to construct what is displayed for a contact. |
| DisplayName | String | False |
Defines the display name of a folder, contact, distribution list, delegate user, location, or rule. |
| GivenName | String | False |
Contains the given name of a contact. |
| Initials | String | False |
Represents the initials of a contact. |
| MiddleName | String | False |
Represents the middle name of a contact. |
| Nickname | String | False |
Represents the nickname of a contact. |
| CompleteName_Title | String | True |
Represents the title of a contact. |
| CompleteName_FirstName | String | True |
Represents the first name of a contact. |
| CompleteName_MiddleName | String | True |
Represents the middle name of a contact. |
| CompleteName_LastName | String | True |
Represents the last name of a contact. |
| CompleteName_Suffix | String | True |
Represents the suffix of a contact. |
| CompleteName_Initials | String | True |
Represents the initials of a contact. |
| CompleteName_FullName | String | True |
Represents the full name of a contact. |
| CompleteName_Nickname | String | True |
Represents the nickname of a contact. |
| CompleteName_YomiFirstName | String | True |
Represents the name used in Japan for the searchable or phonetic spelling of a Japanese first name. |
| CompleteName_YomiLastName | String | True |
Represents the name used in Japan for the searchable or phonetic spelling of a Japanese first name. |
| CompanyName | String | False |
Represents the company name that is associated with a contact. |
| EmailAddress1 | String | False |
Represents a single email address for a contact. |
| EmailAddress2 | String | False |
Represents a single email address for a contact. |
| EmailAddress3 | String | False |
Represents a single email address for a contact. |
| BusinessAddress_Street | String | False |
Represents the Business street address for a contact item. |
| BusinessAddress_City | String | False |
Represents the Business city name for a contact item. |
| BusinessAddress_State | String | False |
Represents the Business state of residence for a contact item. |
| BusinessAddress_Country | String | False |
Represents the Business country or region for a contact item. |
| BusinessAddress_PostalCode | String | False |
Represents the Business postal code for a contact item. |
| HomeAddress_Street | String | False |
Represents the Home street address for a contact item. |
| HomeAddress_City | String | False |
Represents the Home city name for a contact item. |
| HomeAddress_State | String | False |
Represents the Home state of residence for a contact item. |
| HomeAddress_Country | String | False |
Represents the Home country or region for a contact item. |
| HomeAddress_PostalCode | String | False |
Represents the Home postal code for a contact item. |
| OtherAddress_Street | String | False |
Represents the Other street address for a contact item. |
| OtherAddress_City | String | False |
Represents the Other city name for a contact item. |
| OtherAddress_State | String | False |
Represents the Other state of residence for a contact item. |
| OtherAddress_Country | String | False |
Represents the Other country or region for a contact item. |
| OtherAddress_PostalCode | String | False |
Represents the Other postal code for a contact item. |
| AssistantPhone | String | False |
Represents the AssistantPhone number for a contact item. |
| BusinessFax | String | False |
Represents the BusinessFax number for a contact item. |
| BusinessPhone | String | False |
Represents the BusinessPhone number for a contact item. |
| BusinessPhone2 | String | False |
Represents the BusinessPhone2 number for a contact item. |
| Callback | String | False |
Represents the Callback number for a contact item. |
| CarPhone | String | False |
Represents the CarPhone number for a contact item. |
| CompanyMainPhone | String | False |
Represents the CompanyMainPhone number for a contact item. |
| HomeFax | String | False |
Represents the HomeFax number for a contact item. |
| HomePhone | String | False |
Represents the HomePhone number for a contact item. |
| HomePhone2 | String | False |
Represents the HomePhone2 number for a contact item. |
| Isdn | String | False |
Represents the Isdn number for a contact item. |
| MobilePhone | String | False |
Represents the MobilePhone number for a contact item. |
| OtherFax | String | False |
Represents the OtherFax number for a contact item. |
| OtherTelephone | String | False |
Represents the OtherTelephone number for a contact item. |
| Pager | String | False |
Represents the Pager number for a contact item. |
| PrimaryPhone | String | False |
Represents the PrimaryPhone number for a contact item. |
| RadioPhone | String | False |
Represents the RadioPhone number for a contact item. |
| Telex | String | False |
Represents the Telex number for a contact item. |
| TtyTddPhone | String | False |
Represents the TtyTddPhone number for a contact item. |
| AssistantName | String | False |
Represents an assistant to a contact. |
| Birthday | Datetime | False |
Represents the birth date of a contact. |
| BusinessHomePage | String | False |
Represents the Home page (Web address) for the contact. |
| Children_1 | String | False |
Contains the name of the child of a contact. |
| Children_2 | String | False |
Contains the name of the child of a contact. |
| Children_3 | String | False |
Contains the name of the child of a contact. |
| Companies_1 | String | False |
Represents the name of a company associated with a contact. |
| Companies_2 | String | False |
Represents the name of a company associated with a contact. |
| Companies_3 | String | False |
Represents the name of a company associated with a contact. |
| ContactSource | String | False |
Describes whether the contact is located in the Exchange store or Active Directory Domain Services. |
| Department | String | False |
Represents the department of a contact. |
| Generation | String | False |
Represents a generational abbreviation that follows the full name of a contact. |
| ImAddress1 | String | False |
Represents an instant messaging (IM) address for a contact. |
| ImAddress2 | String | False |
Represents an instant messaging (IM) address for a contact. |
| ImAddress3 | String | False |
Represents an instant messaging (IM) address for a contact. |
| JobTitle | String | False |
Represents the job title of a contact. |
| Manager | String | False |
Represents the manager of a contact. |
| Mileage | String | False |
Represents the mileage for a contact item. |
| OfficeLocation | String | False |
Represents the office location of a contact. |
| PostalAddressIndex | String | False |
Represents the display type for the physical address of a contact. |
| Profession | String | False |
Represents the profession of a contact. |
| SpouseName | String | False |
Represents the name of the spouse or partner of the contact. |
| Surname | String | False |
Represents the surname of a contact. |
| WeddingAnniversary | Datetime | False |
Contains the wedding anniversary of a contact. |
| HasPicture | Boolean | False |
Indicates whether the contact item has a file attachment that represents the picture of a contact. |
| PhoneticFullName | String | False |
Contains the full name of a contact, including the first and last name, spelled phonetically. |
| PhoneticFirstName | String | False |
Contains the first name of a contact, spelled phonetically. |
| PhoneticLastName | String | False |
Contains the last name of a contact, spelled phonetically. |
| Alias | String | False |
Contains the email alias of a contact. |
| Notes | String | False |
Contains supplementary contact information. |
| Photo | String | False |
Contains a value that encodes the photo of a contact. |
| UserSMIMECertificate | String | False |
Contains a value that encodes the SMIME certificate of a contact. |
| MSExchangeCertificate | String | False |
Contains a value that encodes the Microsoft Exchange certificate of a contact. |
| DirectoryId | String | False |
Contains the directory Id of a contact. |
| ManagerMailbox | String | False |
Contains SMTP information that identifies the mailbox of the manager of a contact. |
| DirectReports | String | False |
Contains SMTP information that identifies the direct reports of a contact. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| ImpersonationUser | String |
The Identifier of the user to impersonate. |
| ImpersonationType | String |
The type of Identifier used for the impersonation user (PrincipalName, SID, PrimarySmtpAddress, SmtpAddress). |
| SharedMailboxEmail | String |
The email of a shared mailbox. Use this to retrieve the contacts of a shared mailbox. |
Create, update, delete, and query Deleted Items.
When performing a SELECT operation on the DeletedItems table, the Cloud will not include the items in the subfolders under DeletedItems, but only the items contained within the DeletedItems folder.
If you wish to retrieve the items under the DeletedItems subfolders, your will need to specify the ParentFolderId-s in the WHERE clause. You can get every DeletedItems subfolder Id by executing a filtered by ParentFolderName query to the Folders table. You can use the example query below, to retrieve the items within the DeletedItems subfolders:
SELECT * FROM DeletedItems WHERE ParentFolderId IN (SELECT FolderId FROM Folders WHERE ParentFolderName = 'DeletedItems' AND TotalCount > 0)
Cloud では、アイテムの更新および削除にはItemChangeKey が必要です。ただし、ItemChangeKey が不明な場合には、Cloud は自動的にExchange サーバーからこれを取得することができます。 これはクエリ実行にかかる時間を増加させることに注意してください。
| Name | Type | ReadOnly | Description |
| ItemId [KEY] | String | True |
Contains the unique identifier of an item in the Exchange store. |
| MimeContent | String | True |
Contains the native Multipurpose Internet Mail Extensions (MIME) stream of an object that is represented in Base64 binary format. |
| ItemChangeKey | String | True |
Contains the unique change key of an item in the Exchange store. |
| ParentFolderId | String | False |
Represents the unique identifier of the parent folder that contains the item or folder. |
| ParentFolderChangeKey | String | True |
Represents the unique change key of the parent folder that contains the item or folder. |
| ItemClass | String | False |
Represents the message class of an item. |
| Subject | String | False |
Represents the subject for Exchange store items and response objects. The subject is limited to 255 characters. |
| Sensitivity | String | True |
Indicates the sensitivity level of an item. |
| Body | String | False |
Represents the actual body content of a message. |
| DateTimeReceived | Datetime | True |
Represents the date and time that an item in a mailbox was received. |
| Size | Integer | True |
Represents the size in bytes of an item. This property is read-only. |
| Categories | String | False |
Represents a collection of strings that identify to which categories an item in the mailbox belongs. |
| Importance | String | False |
Describes the importance of an item. |
| InReplyTo | String | False |
Represents the identifier of the item to which this item is a reply. |
| IsSubmitted | Boolean | True |
Indicates whether an item has been submitted to the Outbox default folder. |
| IsDraft | Boolean | True |
Represents whether an item has not yet been sent. |
| IsFromMe | Boolean | True |
Indicates whether a user sent an item to himself or herself. |
| IsResend | Boolean | True |
Indicates whether the item had previously been sent. |
| IsUnmodified | Boolean | True |
Indicates whether the item has been modified. |
| InternetMessageHeaders | String | True |
Represents the collection of all Internet message headers that are contained within an item in a mailbox. |
| DateTimeSent | Datetime | True |
Represents the date and time that an item in a mailbox was sent. |
| DateTimeCreated | Datetime | True |
Represents the date and time that a given item in the mailbox was created. |
| ReminderDueBy | Datetime | False |
Represents the date and time when the event occurs. This is used by the ReminderMinutesBeforeStart element to determine when the reminder is displayed. |
| ReminderIsSet | Boolean | False |
Indicates whether a reminder has been set for an item in the Exchange store. |
| ReminderMinutesBeforeStart | Integer | False |
Represents the number of minutes before an event occurs when a reminder is displayed. |
| DisplayCc | String | True |
Represents the display string that is used for the contents of the To box. This is the concatenated string of all To recipient display names. |
| DisplayTo | String | True |
Represents a property that is set to true if an item has at least one visible attachment. This property is read-only. |
| HasAttachments | Boolean | True |
Indicates whether an item has attachments. |
| Culture | String | False |
Represents the Culture of an item. |
| SenderName | String | False |
Defines the name of the Sender mailbox user. |
| SenderEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the Sender mailbox user. |
| SenderRoutingType | String | False |
Defines the routing that is used for the Sender mailbox. The default is SMTP. |
| ToRecipients_Name | String | False |
Defines the name of the ToRecipient. |
| ToRecipients_EmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the ToRecipient. |
| ToRecipients_ItemId | String | False |
Defines the item identifier of a ToRecipient. |
| CcRecipients_Name | String | False |
Defines the name of the CcRecipient. |
| CcRecipients_EmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the CcRecipient. |
| CcRecipients_ItemId | String | False |
Defines the item identifier of a CcRecipient. |
| BccRecipients_Name | String | False |
Defines the name of the BccRecipient. |
| BccRecipients_EmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the BccRecipient. |
| BccRecipients_ItemId | String | False |
Defines the item identifier of a BccRecipient. |
| IsReadReceiptRequested | Boolean | False |
Indicates whether the sender of an item requests a read receipt. |
| IsDeliveryReceiptRequested | Boolean | False |
Indicates whether the sender of an item requests a delivery receipt. |
| ConversationIndex | String | False |
Contains a binary Id that represents the thread to which this message belongs. |
| ConversationTopic | String | False |
Represents the conversation topic. |
| FromName | String | False |
Defines the name of the From mailbox user. |
| FromEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the From mailbox user. |
| FromRoutingType | String | False |
Defines the routing that is used for the From mailbox. The default is SMTP. |
| InternetMessageId | String | False |
Represents the Internet message identifier of an item. |
| IsRead | Boolean | False |
Indicates whether a message has been read. |
| IsResponseRequested | Boolean | False |
Indicates whether a response to an item is requested. |
| References | String | False |
Represents the Usenet header that is used to associate replies with the original messages. |
| EffectiveRights_CreateAssociated | Boolean | True |
Indicates whether a client can create an associated contents table. |
| EffectiveRights_CreateContents | Boolean | True |
Indicates whether a client can create a contents table. |
| EffectiveRights_CreateHierarchy | Boolean | True |
Indicates whether a client can create a hierarchy table. |
| EffectiveRights_Delete | Boolean | True |
Indicates whether a client can delete a folder or item. |
| EffectiveRights_Modify | Boolean | True |
Indicates whether a client can modify a folder or item. |
| EffectiveRights_Read | Boolean | True |
Indicates whether a client can read a folder or item. |
| EffectiveRights_ViewPrivateItems | Boolean | True |
Indicates whether a private item can be viewed. |
| ReceivedByName | String | False |
Defines the name of the ReceivedBy mailbox user. |
| ReceivedByEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the ReceivedBy mailbox user. |
| ReceivedByRoutingType | String | False |
Defines the routing that is used for the ReceivedBy mailbox. The default is SMTP. |
| ReceivedRepresentingName | String | False |
Defines the name of the ReceivedRepresenting mailbox user. |
| ReceivedRepresentingEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the ReceivedRepresenting mailbox user. |
| ReceivedRepresentingRoutingType | String | False |
Defines the routing that is used for the ReceivedRepresenting mailbox. The default is SMTP. |
| LastModifiedName | String | True |
Contains the display name of the last user to modify an item. |
| LastModifiedTime | Datetime | True |
Indicates when an item was last modified. This element is read-only. |
| IsAssociated | Boolean | False |
Indicates whether the item is associated with a folder. |
| WebClientReadFormQueryString | String | True |
Represents a URL to concatenate to the Microsoft Office Outlook Web App endpoint to read an item in Outlook Web App. |
| WebClientEditFormQueryString | String | True |
Represents a URL to concatenate to the Outlook Web App endpoint to edit an item in Outlook Web App. |
| ConversationId | String | True |
Identifies a specific conversation in the Exchange store. |
| ConversationChangeKey | String | True |
Contains the change key of an item or conversation. |
| UniqueBody | String | True |
Represents an HTML fragment or plain-text which represents the unique body of this conversation. |
| UniqueBodyType | String | True |
Describes how the unique item body is stored in the item (HTML or TEXT). |
| ReminderMessageData_Text | String | False |
Specifies the text of a reminder message. |
| ReminderMessageData_Location | String | False |
Represents the location of a meeting, appointment, or persona. |
| ReminderMessageData_StartTime | Datetime | False |
Specifies the starting time of the item that the reminder is for. |
| ReminderMessageData_EndTime | Datetime | False |
Specifies the ending time of the item that the reminder is for. |
| ReminderMessageData_AssociatedCalendarId | String | True |
Represents the calendar item that is associated with the ReminderMessageData. |
| Attachments | String | True |
Contains a comma-separated list of the Ids of the attached files. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| ImpersonationUser | String |
The Identifier of the user to impersonate. |
| ImpersonationType | String |
The type of Identifier used for the impersonation user (PrincipalName, SID, PrimarySmtpAddress, SmtpAddress). |
| SharedMailboxEmail | String |
The email of a shared mailbox. Use this to retrieve the Deleted items of a shared mailbox. |
Create, update, delete, and query Drafts items.
When performing a SELECT operation on the Drafts table, the Cloud will not include the items in the subfolders under Drafts, but only the items contained within the Drafts folder.
If you wish to retrieve the items under the Drafts subfolders, your will need to specify the ParentFolderId-s in the WHERE clause. You can get every Drafts subfolder Id by executing a filtered by ParentFolderName query to the Folders table. You can use the example query below, to retrieve the items within the Drafts subfolders:
SELECT * FROM Drafts WHERE ParentFolderId IN (SELECT FolderId FROM Folders WHERE ParentFolderName = 'Drafts' AND TotalCount > 0)
Cloud では、アイテムの更新および削除にはItemChangeKey が必要です。ただし、ItemChangeKey が不明な場合には、Cloud は自動的にExchange サーバーからこれを取得することができます。 これはクエリ実行にかかる時間を増加させることに注意してください。
| Name | Type | ReadOnly | Description |
| ItemId [KEY] | String | True |
Contains the unique identifier of an item in the Exchange store. |
| MimeContent | String | True |
Contains the native Multipurpose Internet Mail Extensions (MIME) stream of an object that is represented in Base64 binary format. |
| ItemChangeKey | String | True |
Contains the unique change key of an item in the Exchange store. |
| ParentFolderId | String | False |
Represents the unique identifier of the parent folder that contains the item or folder. |
| ParentFolderChangeKey | String | True |
Represents the unique change key of the parent folder that contains the item or folder. |
| ItemClass | String | False |
Represents the message class of an item. |
| Subject | String | False |
Represents the subject for Exchange store items and response objects. The subject is limited to 255 characters. |
| Sensitivity | String | True |
Indicates the sensitivity level of an item. |
| Body | String | False |
Represents the actual body content of a message. |
| DateTimeReceived | Datetime | True |
Represents the date and time that an item in a mailbox was received. |
| Size | Integer | True |
Represents the size in bytes of an item. This property is read-only. |
| Categories | String | False |
Represents a collection of strings that identify to which categories an item in the mailbox belongs. |
| Importance | String | False |
Describes the importance of an item. |
| InReplyTo | String | False |
Represents the identifier of the item to which this item is a reply. |
| IsSubmitted | Boolean | True |
Indicates whether an item has been submitted to the Outbox default folder. |
| IsDraft | Boolean | True |
Represents whether an item has not yet been sent. |
| IsFromMe | Boolean | True |
Indicates whether a user sent an item to himself or herself. |
| IsResend | Boolean | True |
Indicates whether the item had previously been sent. |
| IsUnmodified | Boolean | True |
Indicates whether the item has been modified. |
| InternetMessageHeaders | String | True |
Represents the collection of all Internet message headers that are contained within an item in a mailbox. |
| DateTimeSent | Datetime | True |
Represents the date and time that an item in a mailbox was sent. |
| DateTimeCreated | Datetime | True |
Represents the date and time that a given item in the mailbox was created. |
| ReminderDueBy | Datetime | False |
Represents the date and time when the event occurs. This is used by the ReminderMinutesBeforeStart element to determine when the reminder is displayed. |
| ReminderIsSet | Boolean | False |
Indicates whether a reminder has been set for an item in the Exchange store. |
| ReminderMinutesBeforeStart | Integer | False |
Represents the number of minutes before an event occurs when a reminder is displayed. |
| DisplayCc | String | True |
Represents the display string that is used for the contents of the Cc box. This is the concatenated string of all To recipient display names. |
| DisplayTo | String | True |
Represents the display string that is used for the contents of the To box. This is the concatenated string of all To recipient display names. |
| HasAttachments | Boolean | True |
Indicates whether an item has attachments. |
| Culture | String | False |
Represents the Culture of an item. |
| SenderName | String | False |
Defines the name of the Sender mailbox user. |
| SenderEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the Sender mailbox user. |
| SenderRoutingType | String | False |
Defines the routing that is used for the Sender mailbox. The default is SMTP. |
| ToRecipients_Name | String | False |
Defines the name of the ToRecipient. |
| ToRecipients_EmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the ToRecipient. |
| ToRecipients_ItemId | String | False |
Defines the item identifier of a ToRecipient. |
| CcRecipients_Name | String | False |
Defines the name of the CcRecipient. |
| CcRecipients_EmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the CcRecipient. |
| CcRecipients_ItemId | String | False |
Defines the item identifier of a CcRecipient. |
| BccRecipients_Name | String | False |
Defines the name of the BccRecipient. |
| BccRecipients_EmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the BccRecipient. |
| BccRecipients_ItemId | String | False |
Defines the item identifier of a BccRecipient. |
| IsReadReceiptRequested | Boolean | False |
Indicates whether the sender of an item requests a read receipt. |
| IsDeliveryReceiptRequested | Boolean | False |
Indicates whether the sender of an item requests a delivery receipt. |
| ConversationIndex | String | False |
Contains a binary Id that represents the thread to which this message belongs. |
| ConversationTopic | String | False |
Represents the conversation topic. |
| FromName | String | False |
Defines the name of the From mailbox user. |
| FromEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the From mailbox user. |
| FromRoutingType | String | False |
Defines the routing that is used for the From mailbox. The default is SMTP. |
| InternetMessageId | String | False |
Represents the Internet message identifier of an item. |
| IsRead | Boolean | False |
Indicates whether a message has been read. |
| IsResponseRequested | Boolean | False |
Indicates whether a response to an item is requested. |
| References | String | False |
Represents the Usenet header that is used to associate replies with the original messages. |
| EffectiveRights_CreateAssociated | Boolean | True |
Indicates whether a client can create an associated contents table. |
| EffectiveRights_CreateContents | Boolean | True |
Indicates whether a client can create a contents table. |
| EffectiveRights_CreateHierarchy | Boolean | True |
Indicates whether a client can create a hierarchy table. |
| EffectiveRights_Delete | Boolean | True |
Indicates whether a client can delete a folder or item. |
| EffectiveRights_Modify | Boolean | True |
Indicates whether a client can modify a folder or item. |
| EffectiveRights_Read | Boolean | True |
Indicates whether a client can read a folder or item. |
| EffectiveRights_ViewPrivateItems | Boolean | True |
Indicates whether a private item can be viewed. |
| ReceivedByName | String | False |
Defines the name of the ReceivedBy mailbox user. |
| ReceivedByEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the ReceivedBy mailbox user. |
| ReceivedByRoutingType | String | False |
Defines the routing that is used for the ReceivedBy mailbox. The default is SMTP. |
| ReceivedRepresentingName | String | False |
Defines the name of the ReceivedRepresenting mailbox user. |
| ReceivedRepresentingEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the ReceivedRepresenting mailbox user. |
| ReceivedRepresentingRoutingType | String | False |
Defines the routing that is used for the ReceivedRepresenting mailbox. The default is SMTP. |
| LastModifiedName | String | True |
Contains the display name of the last user to modify an item. |
| LastModifiedTime | Datetime | True |
Indicates when an item was last modified. This element is read-only. |
| IsAssociated | Boolean | False |
Indicates whether the item is associated with a folder. |
| WebClientReadFormQueryString | String | True |
Represents a URL to concatenate to the Microsoft Office Outlook Web App endpoint to read an item in Outlook Web App. |
| WebClientEditFormQueryString | String | True |
Represents a URL to concatenate to the Outlook Web App endpoint to edit an item in Outlook Web App. |
| ConversationId | String | True |
Identifies a specific conversation in the Exchange store. |
| ConversationChangeKey | String | True |
Contains the change key of an item or conversation. |
| UniqueBody | String | True |
Represents an HTML fragment or plain-text which represents the unique body of this conversation. |
| UniqueBodyType | String | True |
Describes how the unique item body is stored in the item (HTML or TEXT). |
| ReminderMessageData_Text | String | False |
Specifies the text of a reminder message. |
| ReminderMessageData_Location | String | False |
Represents the location of a meeting, appointment, or persona. |
| ReminderMessageData_StartTime | Datetime | False |
Specifies the starting time of the item that the reminder is for. |
| ReminderMessageData_EndTime | Datetime | False |
Specifies the ending time of the item that the reminder is for. |
| ReminderMessageData_AssociatedCalendarId | String | True |
Represents the calendar item that is associated with the ReminderMessageData. |
| Attachments | String | True |
Contains a comma-separated list of the Ids of the attached files. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| ImpersonationUser | String |
The Identifier of the user to impersonate. |
| ImpersonationType | String |
The type of Identifier used for the impersonation user (PrincipalName, SID, PrimarySmtpAddress, SmtpAddress). |
| SharedMailboxEmail | String |
The email of a shared mailbox. Use this to retrieve the Draft items of a shared mailbox. |
Create, update, delete, and query subfolders for a given folder.
Cloud では、アイテムの更新もしくは削除にはFolderChangeKey が必要です。ただし、FolderChangeKey が不明な場合には、Cloud は自動的にExchange サーバーからこれを取得することができます。 これはクエリ実行にかかる時間を増加させることに注意してください。
| Name | Type | ReadOnly | Description |
| FolderId [KEY] | String | True |
Contains the unique identifier of an folder in the Exchange store. |
| FolderChangeKey | String | True |
Contains the unique change key of an folder in the Exchange store. |
| ParentFolderId | String | False |
Represents the unique identifier of the parent folder that contains the item or folder. |
| ParentFolderChangeKey | String | True |
Represents the unique change key of the parent folder that contains the item or folder. |
| FolderClass | String | False |
Represents the folder class for a given folder. |
| DisplayName | String | False |
Contains the display name of a folder. |
| TotalCount | Integer | True |
Represents the total count of items within a given folder. |
| ChildFolderCount | Integer | True |
Represents the number of child folders that are contained within a folder. |
| CanDelete | Boolean | True |
Indicates whether a managed folder can be deleted by a customer. |
| CanRenameOrMove | Boolean | True |
Indicates whether a given managed folder can be renamed or moved by the customer. |
| MustDisplayComment | Boolean | True |
Indicates whether the managed folder comment must be displayed. |
| HasQuota | Boolean | True |
Indicates whether the managed folder has a quota. |
| IsManagedFoldersRoot | Boolean | True |
Indicates whether the managed folder is the root for all managed folders. |
| ManagedFolderId | String | True |
Contains the folder Id of the managed folder. |
| Comment | String | True |
Contains the comment that is associated with a managed folder. |
| StorageQuota | Integer | True |
Describes the storage quota for the managed folder. |
| FolderSize | Integer | True |
Describes the total size of all the contents of a managed folder. |
| HomePage | String | True |
Specifies the URL that will be the default home page for the managed folder. |
| UnreadCount | Integer | True |
Represents the count of unread items within a given folder. |
| EffectiveRights_CreateAssociated | Boolean | True |
Indicates whether a client can create an associated contents table. |
| EffectiveRights_CreateContents | Boolean | True |
Indicates whether a client can create a contents table. |
| EffectiveRights_CreateHierarchy | Boolean | True |
Indicates whether a client can create a hierarchy table. |
| EffectiveRights_Delete | Boolean | True |
Indicates whether a client can delete a folder or item. |
| EffectiveRights_Modify | Boolean | True |
Indicates whether a client can modify a folder or item. |
| EffectiveRights_Read | Boolean | True |
Indicates whether a client can read a folder or item. |
| EffectiveRights_ViewPrivateItems | Boolean | True |
Indicates whether a private item can be viewed. |
| SharingEffectiveRights | String | False |
Indicates the permissions that the user has for the contact data that is being shared. |
| ParentFolderName | String | False |
Represents the distinguished folder Id of the parent folder. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| ImpersonationUser | String |
The Identifier of the user to impersonate. |
| ImpersonationType | String |
The type of Identifier used for the impersonation user (PrincipalName, SID, PrimarySmtpAddress, SmtpAddress). |
| Traversal | String |
Defines how a search is performed. One of [Shallow, Deep, SoftDeleted]. Default values is Shallow |
| SharedMailboxEmail | String |
The email of a shared mailbox. Use this to retrieve the shared folders. |
| Rows@Next | String |
Identifier for the next page of results. Do not set this value manually. |
Create, update, delete, and query Inbox items.
When performing a SELECT operation on the Inbox table, the Cloud will not include the items in the subfolders under Inbox, but only the items contained within the Inbox folder.
If you wish to retrieve the items under the Inbox subfolders, your will need to specify the ParentFolderId-s in the WHERE clause. You can get every Inbox subfolder Id by executing a filtered by ParentFolderName query to the Folders table. You can use the example query below, to retrieve the items within the Inbox subfolders:
SELECT * FROM Inbox WHERE ParentFolderId IN (SELECT FolderId FROM Folders WHERE ParentFolderName = 'Inbox' AND TotalCount > 0)
Cloud では、アイテムの更新および削除にはItemChangeKey が必要です。ただし、ItemChangeKey が不明な場合には、Cloud は自動的にExchange サーバーからこれを取得することができます。 これはクエリ実行にかかる時間を増加させることに注意してください。
| Name | Type | ReadOnly | Description |
| ItemId [KEY] | String | True |
Contains the unique identifier of an item in the Exchange store. |
| MimeContent | String | True |
Contains the native Multipurpose Internet Mail Extensions (MIME) stream of an object that is represented in Base64 binary format. |
| ItemChangeKey | String | True |
Contains the unique change key of an item in the Exchange store. |
| ParentFolderId | String | False |
Represents the unique identifier of the parent folder that contains the item or folder. |
| ParentFolderChangeKey | String | True |
Represents the unique change key of the parent folder that contains the item or folder. |
| ItemClass | String | False |
Represents the message class of an item. |
| Subject | String | False |
Represents the subject for Exchange store items and response objects. The subject is limited to 255 characters. |
| Sensitivity | String | True |
Indicates the sensitivity level of an item. |
| Body | String | False |
Represents the actual body content of a message. |
| DateTimeReceived | Datetime | True |
Represents the date and time that an item in a mailbox was received. |
| Size | Integer | True |
Represents the size in bytes of an item. This property is read-only. |
| Categories | String | False |
Represents a collection of strings that identify to which categories an item in the mailbox belongs. |
| Importance | String | False |
Describes the importance of an item. |
| InReplyTo | String | False |
Represents the identifier of the item to which this item is a reply. |
| IsSubmitted | Boolean | True |
Indicates whether an item has been submitted to the Outbox default folder. |
| IsDraft | Boolean | True |
Represents whether an item has not yet been sent. |
| IsFromMe | Boolean | True |
Indicates whether a user sent an item to himself or herself. |
| IsResend | Boolean | True |
Indicates whether the item had previously been sent. |
| IsUnmodified | Boolean | True |
Indicates whether the item has been modified. |
| InternetMessageHeaders | String | True |
Represents the collection of all Internet message headers that are contained within an item in a mailbox. |
| DateTimeSent | Datetime | True |
Represents the date and time that an item in a mailbox was sent. |
| DateTimeCreated | Datetime | True |
Represents the date and time that a given item in the mailbox was created. |
| ReminderDueBy | Datetime | False |
Represents the date and time when the event occurs. This is used by the ReminderMinutesBeforeStart element to determine when the reminder is displayed. |
| ReminderIsSet | Boolean | False |
Indicates whether a reminder has been set for an item in the Exchange store. |
| ReminderMinutesBeforeStart | Integer | False |
Represents the number of minutes before an event occurs when a reminder is displayed. |
| DisplayCc | String | True |
Represents the display string that is used for the contents of the To box. This is the concatenated string of all To recipient display names. |
| DisplayTo | String | True |
Represents a property that is set to true if an item has at least one visible attachment. This property is read-only. |
| HasAttachments | Boolean | True |
Indicates whether an item has attachments. |
| Culture | String | False |
Represents the Culture of an item. |
| SenderName | String | False |
Defines the name of the Sender mailbox user. |
| SenderEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the Sender mailbox user. |
| SenderRoutingType | String | False |
Defines the routing that is used for the Sender mailbox. The default is SMTP. |
| ToRecipients_Names | String | False |
Defines the name of the ToRecipient. |
| ToRecipients_EmailAddresses | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the ToRecipient. |
| ToRecipients_ItemIds | String | False |
Defines the item identifier of a ToRecipient. |
| CcRecipients_Names | String | False |
Defines the name of the CcRecipient. |
| CcRecipients_EmailAddresses | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the CcRecipient. |
| CcRecipients_ItemIds | String | False |
Defines the item identifier of a CcRecipient. |
| BccRecipients_Name | String | False |
Defines the name of the BccRecipient. |
| BccRecipients_EmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the BccRecipient. |
| BccRecipients_ItemId | String | False |
Defines the item identifier of a BccRecipient. |
| IsReadReceiptRequested | Boolean | False |
Indicates whether the sender of an item requests a read receipt. |
| IsDeliveryReceiptRequested | Boolean | False |
Indicates whether the sender of an item requests a delivery receipt. |
| ConversationIndex | String | False |
Contains a binary Id that represents the thread to which this message belongs. |
| ConversationTopic | String | False |
Represents the conversation topic. |
| FromName | String | False |
Defines the name of the From mailbox user. |
| FromEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the From mailbox user. |
| FromRoutingType | String | False |
Defines the routing that is used for the From mailbox. The default is SMTP. |
| InternetMessageId | String | False |
Represents the Internet message identifier of an item. |
| IsRead | Boolean | False |
Indicates whether a message has been read. |
| IsResponseRequested | Boolean | False |
Indicates whether a response to an item is requested. |
| References | String | False |
Represents the Usenet header that is used to associate replies with the original messages. |
| EffectiveRights_CreateAssociated | Boolean | True |
Indicates whether a client can create an associated contents table. |
| EffectiveRights_CreateContents | Boolean | True |
Indicates whether a client can create a contents table. |
| EffectiveRights_CreateHierarchy | Boolean | True |
Indicates whether a client can create a hierarchy table. |
| EffectiveRights_Delete | Boolean | True |
Indicates whether a client can delete a folder or item. |
| EffectiveRights_Modify | Boolean | True |
Indicates whether a client can modify a folder or item. |
| EffectiveRights_Read | Boolean | True |
Indicates whether a client can read a folder or item. |
| EffectiveRights_ViewPrivateItems | Boolean | True |
Indicates whether a private item can be viewed. |
| ReceivedByName | String | False |
Defines the name of the ReceivedBy mailbox user. |
| ReceivedByEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the ReceivedBy mailbox user. |
| ReceivedByRoutingType | String | False |
Defines the routing that is used for the ReceivedBy mailbox. The default is SMTP. |
| ReceivedRepresentingName | String | False |
Defines the name of the ReceivedRepresenting mailbox user. |
| ReceivedRepresentingEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the ReceivedRepresenting mailbox user. |
| ReceivedRepresentingRoutingType | String | False |
Defines the routing that is used for the ReceivedRepresenting mailbox. The default is SMTP. |
| LastModifiedName | String | True |
Contains the display name of the last user to modify an item. |
| LastModifiedTime | Datetime | True |
Indicates when an item was last modified. This element is read-only. |
| IsAssociated | Boolean | False |
Indicates whether the item is associated with a folder. |
| WebClientReadFormQueryString | String | True |
Represents a URL to concatenate to the Microsoft Office Outlook Web App endpoint to read an item in Outlook Web App. |
| WebClientEditFormQueryString | String | True |
Represents a URL to concatenate to the Outlook Web App endpoint to edit an item in Outlook Web App. |
| ConversationId | String | True |
Identifies a specific conversation in the Exchange store. |
| ConversationChangeKey | String | True |
Contains the change key of an item or conversation. |
| UniqueBody | String | True |
Represents an HTML fragment or plain-text which represents the unique body of this conversation. |
| UniqueBodyType | String | True |
Describes how the unique item body is stored in the item (HTML or TEXT). |
| ReminderMessageData_Text | String | False |
Specifies the text of a reminder message. |
| ReminderMessageData_Location | String | False |
Represents the location of a meeting, appointment, or persona. |
| ReminderMessageData_StartTime | Datetime | False |
Specifies the starting time of the item that the reminder is for. |
| ReminderMessageData_EndTime | Datetime | False |
Specifies the ending time of the item that the reminder is for. |
| ReminderMessageData_AssociatedCalendarId | String | True |
Represents the calendar item that is associated with the ReminderMessageData. |
| Attachments | String | True |
Contains a comma-separated list of the Ids of the attached files. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| ImpersonationUser | String |
The Identifier of the user to impersonate. |
| ImpersonationType | String |
The type of Identifier used for the impersonation user (PrincipalName, SID, PrimarySmtpAddress, SmtpAddress). |
| SharedMailboxEmail | String |
The email of a shared mailbox. Use this to retrieve the inbox items of a shared mailbox. |
Create, update, delete, and query Junk Email items.
| Name | Type | ReadOnly | Description |
| ItemId [KEY] | String | True |
Contains the unique identifier of an item in the Exchange store. |
| MimeContent | String | True |
Contains the native Multipurpose Internet Mail Extensions (MIME) stream of an object that is represented in Base64 binary format. |
| ItemChangeKey | String | True |
Contains the unique change key of an item in the Exchange store. |
| ParentFolderId | String | False |
Represents the unique identifier of the parent folder that contains the item or folder. |
| ParentFolderChangeKey | String | True |
Represents the unique change key of the parent folder that contains the item or folder. |
| ItemClass | String | False |
Represents the message class of an item. |
| Subject | String | False |
Represents the subject for Exchange store items and response objects. The subject is limited to 255 characters. |
| Sensitivity | String | True |
Indicates the sensitivity level of an item. |
| Body | String | False |
Represents the actual body content of a message. |
| DateTimeReceived | Datetime | True |
Represents the date and time that an item in a mailbox was received. |
| Size | Integer | True |
Represents the size in bytes of an item. This property is read-only. |
| Categories | String | False |
Represents a collection of strings that identify to which categories an item in the mailbox belongs. |
| Importance | String | False |
Describes the importance of an item. |
| InReplyTo | String | False |
Represents the identifier of the item to which this item is a reply. |
| IsSubmitted | Boolean | True |
Indicates whether an item has been submitted to the Outbox default folder. |
| IsDraft | Boolean | True |
Represents whether an item has not yet been sent. |
| IsFromMe | Boolean | True |
Indicates whether a user sent an item to himself or herself. |
| IsResend | Boolean | True |
Indicates whether the item had previously been sent. |
| IsUnmodified | Boolean | True |
Indicates whether the item has been modified. |
| InternetMessageHeaders | String | True |
Represents the collection of all Internet message headers that are contained within an item in a mailbox. |
| DateTimeSent | Datetime | True |
Represents the date and time that an item in a mailbox was sent. |
| DateTimeCreated | Datetime | True |
Represents the date and time that a given item in the mailbox was created. |
| ReminderDueBy | Datetime | False |
Represents the date and time when the event occurs. This is used by the ReminderMinutesBeforeStart element to determine when the reminder is displayed. |
| ReminderIsSet | Boolean | False |
Indicates whether a reminder has been set for an item in the Exchange store. |
| ReminderMinutesBeforeStart | Integer | False |
Represents the number of minutes before an event occurs when a reminder is displayed. |
| DisplayCc | String | True |
Represents the display string that is used for the contents of the To box. This is the concatenated string of all To recipient display names. |
| DisplayTo | String | True |
Represents a property that is set to true if an item has at least one visible attachment. This property is read-only. |
| HasAttachments | Boolean | True |
Indicates whether an item has attachments. |
| Culture | String | False |
Represents the Culture of an item. |
| SenderName | String | False |
Defines the name of the Sender mailbox user. |
| SenderEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the Sender mailbox user. |
| SenderRoutingType | String | False |
Defines the routing that is used for the Sender mailbox. The default is SMTP. |
| ToRecipients_Name | String | False |
Defines the name of the ToRecipient. |
| ToRecipients_EmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the ToRecipient. |
| ToRecipients_ItemId | String | False |
Defines the item identifier of a ToRecipient. |
| CcRecipients_Name | String | False |
Defines the name of the CcRecipient. |
| CcRecipients_EmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the CcRecipient. |
| CcRecipients_ItemId | String | False |
Defines the item identifier of a CcRecipient. |
| BccRecipients_Name | String | False |
Defines the name of the BccRecipient. |
| BccRecipients_EmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the BccRecipient. |
| BccRecipients_ItemId | String | False |
Defines the item identifier of a BccRecipient. |
| IsReadReceiptRequested | Boolean | False |
Indicates whether the sender of an item requests a read receipt. |
| IsDeliveryReceiptRequested | Boolean | False |
Indicates whether the sender of an item requests a delivery receipt. |
| ConversationIndex | String | False |
Contains a binary Id that represents the thread to which this message belongs. |
| ConversationTopic | String | False |
Represents the conversation topic. |
| FromName | String | False |
Defines the name of the From mailbox user. |
| FromEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the From mailbox user. |
| FromRoutingType | String | False |
Defines the routing that is used for the From mailbox. The default is SMTP. |
| InternetMessageId | String | False |
Represents the Internet message identifier of an item. |
| IsRead | Boolean | False |
Indicates whether a message has been read. |
| IsResponseRequested | Boolean | False |
Indicates whether a response to an item is requested. |
| References | String | False |
Represents the Usenet header that is used to associate replies with the original messages. |
| EffectiveRights_CreateAssociated | Boolean | True |
Indicates whether a client can create an associated contents table. |
| EffectiveRights_CreateContents | Boolean | True |
Indicates whether a client can create a contents table. |
| EffectiveRights_CreateHierarchy | Boolean | True |
Indicates whether a client can create a hierarchy table. |
| EffectiveRights_Delete | Boolean | True |
Indicates whether a client can delete a folder or item. |
| EffectiveRights_Modify | Boolean | True |
Indicates whether a client can modify a folder or item. |
| EffectiveRights_Read | Boolean | True |
Indicates whether a client can read a folder or item. |
| EffectiveRights_ViewPrivateItems | Boolean | True |
Indicates whether a private item can be viewed. |
| ReceivedByName | String | False |
Defines the name of the ReceivedBy mailbox user. |
| ReceivedByEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the ReceivedBy mailbox user. |
| ReceivedByRoutingType | String | False |
Defines the routing that is used for the ReceivedBy mailbox. The default is SMTP. |
| ReceivedRepresentingName | String | False |
Defines the name of the ReceivedRepresenting mailbox user. |
| ReceivedRepresentingEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the ReceivedRepresenting mailbox user. |
| ReceivedRepresentingRoutingType | String | False |
Defines the routing that is used for the ReceivedRepresenting mailbox. The default is SMTP. |
| LastModifiedName | String | True |
Contains the display name of the last user to modify an item. |
| LastModifiedTime | Datetime | True |
Indicates when an item was last modified. This element is read-only. |
| IsAssociated | Boolean | False |
Indicates whether the item is associated with a folder. |
| WebClientReadFormQueryString | String | True |
Represents a URL to concatenate to the Microsoft Office Outlook Web App endpoint to read an item in Outlook Web App. |
| WebClientEditFormQueryString | String | True |
Represents a URL to concatenate to the Outlook Web App endpoint to edit an item in Outlook Web App. |
| ConversationId | String | True |
Identifies a specific conversation in the Exchange store. |
| ConversationChangeKey | String | True |
Contains the change key of an item or conversation. |
| UniqueBody | String | True |
Represents an HTML fragment or plain-text which represents the unique body of this conversation. |
| UniqueBodyType | String | True |
Describes how the unique item body is stored in the item (HTML or TEXT). |
| ReminderMessageData_Text | String | False |
Specifies the text of a reminder message. |
| ReminderMessageData_Location | String | False |
Represents the location of a meeting, appointment, or persona. |
| ReminderMessageData_StartTime | Datetime | False |
Specifies the starting time of the item that the reminder is for. |
| ReminderMessageData_EndTime | Datetime | False |
Specifies the ending time of the item that the reminder is for. |
| ReminderMessageData_AssociatedCalendarId | String | True |
Represents the calendar item that is associated with the ReminderMessageData. |
| Attachments | String | True |
Contains a comma-separated list of the Ids of the attached files. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| ImpersonationUser | String |
The Identifier of the user to impersonate. |
| ImpersonationType | String |
The type of Identifier used for the impersonation user (PrincipalName, SID, PrimarySmtpAddress, SmtpAddress). |
| SharedMailboxEmail | String |
The email of a shared mailbox. Use this to retrieve the Junk Emails of a shared mailbox. |
Create, update, delete, and query Outbox items.
When performing a SELECT operation on the Outbox table, the Cloud will not include the items in the subfolders under Outbox, but only the items contained within the Outbox folder.
If you wish to retrieve the items under the Outbox subfolders, your will need to specify the ParentFolderId-s in the WHERE clause. You can get every Outbox subfolder Id by executing a filtered by ParentFolderName query to the Folders table. You can use the example query below, to retrieve the items within the Outbox subfolders:
SELECT * FROM Outbox WHERE ParentFolderId IN (SELECT FolderId FROM Folders WHERE ParentFolderName = 'Outbox' AND TotalCount > 0)
Cloud では、アイテムの更新および削除にはItemChangeKey が必要です。ただし、ItemChangeKey が不明な場合には、Cloud は自動的にExchange サーバーからこれを取得することができます。 これはクエリ実行にかかる時間を増加させることに注意してください。
| Name | Type | ReadOnly | Description |
| ItemId [KEY] | String | True |
Contains the unique identifier of an item in the Exchange store. |
| MimeContent | String | True |
Contains the native Multipurpose Internet Mail Extensions (MIME) stream of an object that is represented in Base64 binary format. |
| ItemChangeKey | String | True |
Contains the unique change key of an item in the Exchange store. |
| ParentFolderId | String | False |
Represents the unique identifier of the parent folder that contains the item or folder. |
| ParentFolderChangeKey | String | True |
Represents the unique change key of the parent folder that contains the item or folder. |
| ItemClass | String | False |
Represents the message class of an item. |
| Subject | String | False |
Represents the subject for Exchange store items and response objects. The subject is limited to 255 characters. |
| Sensitivity | String | True |
Indicates the sensitivity level of an item. |
| Body | String | False |
Represents the actual body content of a message. |
| DateTimeReceived | Datetime | True |
Represents the date and time that an item in a mailbox was received. |
| Size | Integer | True |
Represents the size in bytes of an item. This property is read-only. |
| Categories | String | False |
Represents a collection of strings that identify to which categories an item in the mailbox belongs. |
| Importance | String | False |
Describes the importance of an item. |
| InReplyTo | String | False |
Represents the identifier of the item to which this item is a reply. |
| IsSubmitted | Boolean | True |
Indicates whether an item has been submitted to the Outbox default folder. |
| IsDraft | Boolean | True |
Represents whether an item has not yet been sent. |
| IsFromMe | Boolean | True |
Indicates whether a user sent an item to himself or herself. |
| IsResend | Boolean | True |
Indicates whether the item had previously been sent. |
| IsUnmodified | Boolean | True |
Indicates whether the item has been modified. |
| InternetMessageHeaders | String | True |
Represents the collection of all Internet message headers that are contained within an item in a mailbox. |
| DateTimeSent | Datetime | True |
Represents the date and time that an item in a mailbox was sent. |
| DateTimeCreated | Datetime | True |
Represents the date and time that a given item in the mailbox was created. |
| ReminderDueBy | Datetime | False |
Represents the date and time when the event occurs. This is used by the ReminderMinutesBeforeStart element to determine when the reminder is displayed. |
| ReminderIsSet | Boolean | False |
Indicates whether a reminder has been set for an item in the Exchange store. |
| ReminderMinutesBeforeStart | Integer | False |
Represents the number of minutes before an event occurs when a reminder is displayed. |
| DisplayCc | String | True |
Represents the display string that is used for the contents of the To box. This is the concatenated string of all To recipient display names. |
| DisplayTo | String | True |
Represents a property that is set to true if an item has at least one visible attachment. This property is read-only. |
| HasAttachments | Boolean | True |
Indicates whether an item has attachments. |
| Culture | String | False |
Represents the Culture of an item. |
| SenderName | String | False |
Defines the name of the Sender mailbox user. |
| SenderEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the Sender mailbox user. |
| SenderRoutingType | String | False |
Defines the routing that is used for the Sender mailbox. The default is SMTP. |
| ToRecipients_Name | String | False |
Defines the name of the ToRecipient. |
| ToRecipients_EmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the ToRecipient. |
| ToRecipients_ItemId | String | False |
Defines the item identifier of a ToRecipient. |
| CcRecipients_Name | String | False |
Defines the name of the CcRecipient. |
| CcRecipients_EmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the CcRecipient. |
| CcRecipients_ItemId | String | False |
Defines the item identifier of a CcRecipient. |
| BccRecipients_Name | String | False |
Defines the name of the BccRecipient. |
| BccRecipients_EmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the BccRecipient. |
| BccRecipients_ItemId | String | False |
Defines the item identifier of a BccRecipient. |
| IsReadReceiptRequested | Boolean | False |
Indicates whether the sender of an item requests a read receipt. |
| IsDeliveryReceiptRequested | Boolean | False |
Indicates whether the sender of an item requests a delivery receipt. |
| ConversationIndex | String | False |
Contains a binary Id that represents the thread to which this message belongs. |
| ConversationTopic | String | False |
Represents the conversation topic. |
| FromName | String | False |
Defines the name of the From mailbox user. |
| FromEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the From mailbox user. |
| FromRoutingType | String | False |
Defines the routing that is used for the From mailbox. The default is SMTP. |
| InternetMessageId | String | False |
Represents the Internet message identifier of an item. |
| IsRead | Boolean | False |
Indicates whether a message has been read. |
| IsResponseRequested | Boolean | False |
Indicates whether a response to an item is requested. |
| References | String | False |
Represents the Usenet header that is used to associate replies with the original messages. |
| EffectiveRights_CreateAssociated | Boolean | True |
Indicates whether a client can create an associated contents table. |
| EffectiveRights_CreateContents | Boolean | True |
Indicates whether a client can create a contents table. |
| EffectiveRights_CreateHierarchy | Boolean | True |
Indicates whether a client can create a hierarchy table. |
| EffectiveRights_Delete | Boolean | True |
Indicates whether a client can delete a folder or item. |
| EffectiveRights_Modify | Boolean | True |
Indicates whether a client can modify a folder or item. |
| EffectiveRights_Read | Boolean | True |
Indicates whether a client can read a folder or item. |
| EffectiveRights_ViewPrivateItems | Boolean | True |
Indicates whether a private item can be viewed. |
| ReceivedByName | String | False |
Defines the name of the ReceivedBy mailbox user. |
| ReceivedByEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the ReceivedBy mailbox user. |
| ReceivedByRoutingType | String | False |
Defines the routing that is used for the ReceivedBy mailbox. The default is SMTP. |
| ReceivedRepresentingName | String | False |
Defines the name of the ReceivedRepresenting mailbox user. |
| ReceivedRepresentingEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the ReceivedRepresenting mailbox user. |
| ReceivedRepresentingRoutingType | String | False |
Defines the routing that is used for the ReceivedRepresenting mailbox. The default is SMTP. |
| LastModifiedName | String | True |
Contains the display name of the last user to modify an item. |
| LastModifiedTime | Datetime | True |
Indicates when an item was last modified. This element is read-only. |
| IsAssociated | Boolean | False |
Indicates whether the item is associated with a folder. |
| WebClientReadFormQueryString | String | True |
Represents a URL to concatenate to the Microsoft Office Outlook Web App endpoint to read an item in Outlook Web App. |
| WebClientEditFormQueryString | String | True |
Represents a URL to concatenate to the Outlook Web App endpoint to edit an item in Outlook Web App. |
| ConversationId | String | True |
Identifies a specific conversation in the Exchange store. |
| ConversationChangeKey | String | True |
Contains the change key of an item or conversation. |
| UniqueBody | String | True |
Represents an HTML fragment or plain-text which represents the unique body of this conversation. |
| UniqueBodyType | String | True |
Describes how the unique item body is stored in the item (HTML or TEXT). |
| ReminderMessageData_Text | String | False |
Specifies the text of a reminder message. |
| ReminderMessageData_Location | String | False |
Represents the location of a meeting, appointment, or persona. |
| ReminderMessageData_StartTime | Datetime | False |
Specifies the starting time of the item that the reminder is for. |
| ReminderMessageData_EndTime | Datetime | False |
Specifies the ending time of the item that the reminder is for. |
| ReminderMessageData_AssociatedCalendarId | String | True |
Represents the calendar item that is associated with the ReminderMessageData. |
| Attachments | String | True |
Contains a comma-separated list of the Ids of the attached files. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| ImpersonationUser | String |
The Identifier of the user to impersonate. |
| ImpersonationType | String |
The type of Identifier used for the impersonation user (PrincipalName, SID, PrimarySmtpAddress, SmtpAddress). |
| SharedMailboxEmail | String |
The email of a shared mailbox. Use this to retrieve the outbox items of a shared mailbox. |
Create, update, delete, and query Sent Items.
When performing a SELECT operation on the SentItems table, the Cloud will not include the items in the subfolders under SentItems, but only the items contained within the SentItems folder.
If you wish to retrieve the items under the SentItems subfolders, your will need to specify the ParentFolderId-s in the WHERE clause. You can get every SentItems subfolder Id by executing a filtered by ParentFolderName query to the Folders table. You can use the example query below, to retrieve the items within the SentItems subfolders:
SELECT * FROM SentItems WHERE ParentFolderId IN (SELECT FolderId FROM Folders WHERE ParentFolderName = 'SentItems' AND TotalCount > 0)
Cloud では、アイテムの更新および削除にはItemChangeKey が必要です。ただし、ItemChangeKey が不明な場合には、Cloud は自動的にExchange サーバーからこれを取得することができます。 これはクエリ実行にかかる時間を増加させることに注意してください。
| Name | Type | ReadOnly | Description |
| ItemId [KEY] | String | True |
Contains the unique identifier of an item in the Exchange store. |
| MimeContent | String | True |
Contains the native Multipurpose Internet Mail Extensions (MIME) stream of an object that is represented in Base64 binary format. |
| ItemChangeKey | String | True |
Contains the unique change key of an item in the Exchange store. |
| ParentFolderId | String | False |
Represents the unique identifier of the parent folder that contains the item or folder. |
| ParentFolderChangeKey | String | True |
Represents the unique change key of the parent folder that contains the item or folder. |
| ItemClass | String | False |
Represents the message class of an item. |
| Subject | String | False |
Represents the subject for Exchange store items and response objects. The subject is limited to 255 characters. |
| Sensitivity | String | True |
Indicates the sensitivity level of an item. |
| Body | String | False |
Represents the actual body content of a message. |
| DateTimeReceived | Datetime | True |
Represents the date and time that an item in a mailbox was received. |
| Size | Integer | True |
Represents the size in bytes of an item. This property is read-only. |
| Categories | String | False |
Represents a collection of strings that identify to which categories an item in the mailbox belongs. |
| Importance | String | False |
Describes the importance of an item. |
| InReplyTo | String | False |
Represents the identifier of the item to which this item is a reply. |
| IsSubmitted | Boolean | True |
Indicates whether an item has been submitted to the Outbox default folder. |
| IsDraft | Boolean | True |
Represents whether an item has not yet been sent. |
| IsFromMe | Boolean | True |
Indicates whether a user sent an item to himself or herself. |
| IsResend | Boolean | True |
Indicates whether the item had previously been sent. |
| IsUnmodified | Boolean | True |
Indicates whether the item has been modified. |
| InternetMessageHeaders | String | True |
Represents the collection of all Internet message headers that are contained within an item in a mailbox. |
| DateTimeSent | Datetime | True |
Represents the date and time that an item in a mailbox was sent. |
| DateTimeCreated | Datetime | True |
Represents the date and time that a given item in the mailbox was created. |
| ReminderDueBy | Datetime | False |
Represents the date and time when the event occurs. This is used by the ReminderMinutesBeforeStart element to determine when the reminder is displayed. |
| ReminderIsSet | Boolean | False |
Indicates whether a reminder has been set for an item in the Exchange store. |
| ReminderMinutesBeforeStart | Integer | False |
Represents the number of minutes before an event occurs when a reminder is displayed. |
| DisplayCc | String | True |
Represents the display string that is used for the contents of the To box. This is the concatenated string of all To recipient display names. |
| DisplayTo | String | True |
Represents a property that is set to true if an item has at least one visible attachment. This property is read-only. |
| HasAttachments | Boolean | True |
Indicates whether an item has attachments. |
| Culture | String | False |
Represents the Culture of an item. |
| SenderName | String | False |
Defines the name of the Sender mailbox user. |
| SenderEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the Sender mailbox user. |
| SenderRoutingType | String | False |
Defines the routing that is used for the Sender mailbox. The default is SMTP. |
| ToRecipients_Names | String | False |
Defines the name of the ToRecipient. |
| ToRecipients_EmailAddresses | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the ToRecipient. |
| ToRecipients_ItemIds | String | False |
Defines the item identifier of a ToRecipient. |
| CcRecipients_Names | String | False |
Defines the name of the CcRecipient. |
| CcRecipients_EmailAddresses | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the CcRecipient. |
| CcRecipients_ItemIds | String | False |
Defines the item identifier of a CcRecipient. |
| BccRecipients_Names | String | False |
Defines the name of the BccRecipient. |
| BccRecipients_EmailAddresses | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the BccRecipient. |
| BccRecipients_ItemIds | String | False |
Defines the item identifier of a BccRecipient. |
| IsReadReceiptRequested | Boolean | False |
Indicates whether the sender of an item requests a read receipt. |
| IsDeliveryReceiptRequested | Boolean | False |
Indicates whether the sender of an item requests a delivery receipt. |
| ConversationIndex | String | False |
Contains a binary Id that represents the thread to which this message belongs. |
| ConversationTopic | String | False |
Represents the conversation topic. |
| FromName | String | False |
Defines the name of the From mailbox user. |
| FromEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the From mailbox user. |
| FromRoutingType | String | False |
Defines the routing that is used for the From mailbox. The default is SMTP. |
| InternetMessageId | String | False |
Represents the Internet message identifier of an item. |
| IsRead | Boolean | False |
Indicates whether a message has been read. |
| IsResponseRequested | Boolean | False |
Indicates whether a response to an item is requested. |
| References | String | False |
Represents the Usenet header that is used to associate replies with the original messages. |
| EffectiveRights_CreateAssociated | Boolean | True |
Indicates whether a client can create an associated contents table. |
| EffectiveRights_CreateContents | Boolean | True |
Indicates whether a client can create a contents table. |
| EffectiveRights_CreateHierarchy | Boolean | True |
Indicates whether a client can create a hierarchy table. |
| EffectiveRights_Delete | Boolean | True |
Indicates whether a client can delete a folder or item. |
| EffectiveRights_Modify | Boolean | True |
Indicates whether a client can modify a folder or item. |
| EffectiveRights_Read | Boolean | True |
Indicates whether a client can read a folder or item. |
| EffectiveRights_ViewPrivateItems | Boolean | True |
Indicates whether a private item can be viewed. |
| ReceivedByName | String | False |
Defines the name of the ReceivedBy mailbox user. |
| ReceivedByEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the ReceivedBy mailbox user. |
| ReceivedByRoutingType | String | False |
Defines the routing that is used for the ReceivedBy mailbox. The default is SMTP. |
| ReceivedRepresentingName | String | False |
Defines the name of the ReceivedRepresenting mailbox user. |
| ReceivedRepresentingEmailAddress | String | False |
Defines the Simple Mail Transfer Protocol (SMTP) address of the ReceivedRepresenting mailbox user. |
| ReceivedRepresentingRoutingType | String | False |
Defines the routing that is used for the ReceivedRepresenting mailbox. The default is SMTP. |
| LastModifiedName | String | True |
Contains the display name of the last user to modify an item. |
| LastModifiedTime | Datetime | True |
Indicates when an item was last modified. This element is read-only. |
| IsAssociated | Boolean | False |
Indicates whether the item is associated with a folder. |
| WebClientReadFormQueryString | String | True |
Represents a URL to concatenate to the Microsoft Office Outlook Web App endpoint to read an item in Outlook Web App. |
| WebClientEditFormQueryString | String | True |
Represents a URL to concatenate to the Outlook Web App endpoint to edit an item in Outlook Web App. |
| ConversationId | String | True |
Identifies a specific conversation in the Exchange store. |
| ConversationChangeKey | String | True |
Contains the change key of an item or conversation. |
| UniqueBody | String | True |
Represents an HTML fragment or plain-text which represents the unique body of this conversation. |
| UniqueBodyType | String | True |
Describes how the unique item body is stored in the item (HTML or TEXT). |
| ReminderMessageData_Text | String | False |
Specifies the text of a reminder message. |
| ReminderMessageData_Location | String | False |
Represents the location of a meeting, appointment, or persona. |
| ReminderMessageData_StartTime | Datetime | False |
Specifies the starting time of the item that the reminder is for. |
| ReminderMessageData_EndTime | Datetime | False |
Specifies the ending time of the item that the reminder is for. |
| ReminderMessageData_AssociatedCalendarId | String | True |
Represents the calendar item that is associated with the ReminderMessageData. |
| Attachments | String | True |
Contains a comma-separated list of the Ids of the attached files. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| ImpersonationUser | String |
The Identifier of the user to impersonate. |
| ImpersonationType | String |
The type of Identifier used for the impersonation user (PrincipalName, SID, PrimarySmtpAddress, SmtpAddress). |
| SharedMailboxEmail | String |
The email of a shared mailbox. Use this to retrieve the sent items of a shared mailbox. |
Create, update, delete, and query Tasks items.
Cloud では、アイテムの更新および削除にはItemChangeKey が必要です。ただし、ItemChangeKey が不明な場合には、Cloud は自動的にExchange サーバーからこれを取得することができます。 これはクエリ実行にかかる時間を増加させることに注意してください。
タスクの繰り返しフィールドのINSERT、SELECT、もしくはUPDATE には、Recurrence_Type およびRecurrence_Duration fields に紐付いたフィールドのみを設定します。 次のテーブルを参照してください:
Recurrence_Type Values & Associated Fields
| RelativeYearlyRecurrence | Recurrence_DaysOfWeek, Recurrence_DaysOfWeekIndex, Recurrence_Month |
| AbsoluteYearlyRecurrence | Recurrence_DayOfMonth, Recurrence_Month |
| RelativeMonthlyRecurrence | Recurrence_Interval, Recurrence_DaysOfWeek, Recurrence_DaysOfWeekIndex |
| AbsoluteMonthlyRecurrence | Recurrence_Interval, Recurrence_DayOfMonth |
| WeeklyRecurrence | Recurrence_Interval, Recurrence_DaysOfWeek, Recurrence_FirstDayOfWeek |
| Daily | Recurrence_Interval |
| *Regeneration | Recurrence_Interval |
Recurrence_Duration & Associated Fields
| NoEndRecurrence | Recurrence_StartDate |
| EndDateRecurrence | Recurrence_StartDate, Recurrence_EndDate |
| NumberedRecurrence | Recurrence_StartDate, Recurrence_NumberOfOccurrences |
| Name | Type | ReadOnly | Description |
| ItemId [KEY] | String | True |
Contains the unique identifier of an item in the Exchange store. This property is read-only. |
| MimeContent | String | True |
Contains the native Multipurpose Internet Mail Extensions (MIME) stream of an object that is represented in Base64 binary format. |
| ItemChangeKey | String | True |
Contains the unique change key of an item in the Exchange store. This property is read-only. |
| ParentFolderId | String | False |
Represents the unique identifier of the parent folder that contains the item or folder. This property is read-only. |
| ParentFolderChangeKey | String | True |
Represents the unique change key of the parent folder that contains the item or folder. This property is read-only. |
| ItemClass | String | False |
Represents the message class of an item. |
| Subject | String | False |
Represents the subject for Exchange store items and response objects. The subject is limited to 255 characters. |
| Sensitivity | String | True |
Indicates the sensitivity level of an item. |
| Body | String | False |
This field contains the body for the Task. |
| DateTimeReceived | Datetime | True |
Represents the date and time that an item in a mailbox was received. |
| Size | Integer | True |
Represents the size in bytes of an item. This property is read-only. |
| Categories | String | False |
Represents a collection of strings that identify to which categories an item in the mailbox belongs. |
| InReplyTo | String | True |
Represents the identifier of the item to which this item is a reply. |
| IsSubmitted | Boolean | True |
Indicates whether an item has been submitted to the Outbox default folder. |
| IsDraft | Boolean | True |
Represents whether an item has not yet been sent. |
| IsFromMe | Boolean | True |
Indicates whether a user sent an item to himself or herself. |
| IsResend | Boolean | True |
Indicates whether the item had previously been sent. |
| IsUnmodified | Boolean | True |
Indicates whether the item has been modified. |
| InternetMessageHeaders | String | True |
Represents the collection of all Internet message headers that are contained within an item in a mailbox. |
| DateTimeSent | Datetime | True |
Represents the date and time that an item in a mailbox was sent. |
| DateTimeCreated | Datetime | True |
Represents the date and time that a given item in the mailbox was created. |
| ReminderDueBy | Datetime | False |
Represents the date and time when the event occurs. |
| ReminderIsSet | Boolean | False |
Indicates whether a reminder has been set for an item in the Exchange store. |
| ReminderMinutesBeforeStart | Integer | False |
Represents the number of minutes before an event occurs when a reminder is displayed. |
| DisplayCc | String | True |
Represents the display string that is used for the contents of the To box. This is the concatenated string of all To recipient display names. |
| DisplayTo | String | True |
Represents a property that is set to true if an item has at least one visible attachment. This property is read-only. |
| HasAttachments | Boolean | True |
Indicates whether an item has attachments. |
| Culture | String | False |
Represents the Culture of an item. |
| ActualWork | Integer | False |
Represents the actual amount of time that is spent on a task. |
| AssignedTime | Datetime | False |
Represents the time when a task is assigned to a contact. |
| BillingInformation | String | False |
Holds billing information for a task. |
| ChangeCount | Integer | False |
Specifies the version of the task. |
| Companies1 | String | False |
Represents the collection of companies that are associated with a contact or task. |
| Companies2 | String | False |
Represents the collection of companies that are associated with a contact or task. |
| Companies3 | String | False |
Represents the collection of companies that are associated with a contact or task. |
| CompleteDate | Datetime | False |
Represents the date on which a task is completed. |
| Contacts1 | String | False |
Contains a list of contacts who are associated with a task. |
| Contacts2 | String | False |
Contains a list of contacts who are associated with a task. |
| Contacts3 | String | False |
Contains a list of contacts who are associated with a task. |
| DelegationState | String | False |
Represents the status of a delegated task. |
| Delegator | String | False |
Contains the name of the delegator who assigned the task. |
| DueDate | Datetime | False |
Represents the date when a task item is due. |
| IsAssignmentEditable | Boolean | False |
Indicates whether the task is editable or not. |
| IsComplete | Boolean | False |
Indicates whether the task has been completed or not. |
| IsRecurring | Boolean | True |
Indicates whether a task is part of a recurring item. |
| IsTeamTask | Boolean | False |
Indicates whether the task is owned by a team or not. |
| Mileage | String | False |
Represents mileage for a task item. |
| Owner | String | False |
Represents the owner of a task. |
| PercentComplete | Double | False |
Describes the completion status of a task. |
| Recurrence_Type | String | False |
Contains the recurrence type for task items and meeting requests. 使用できる値は次のとおりです。RelativeYearlyRecurrence, AbsoluteYearlyRecurrence, RelativeMonthlyRecurrence, AbsoluteMonthlyRecurrence, WeeklyRecurrence, DailyRecurrence, DailyRegeneration, WeeklyRegeneration, MonthlyRegeneration, YearlyRegeneration |
| Recurrence_DaysOfWeek | String | False |
Describes days of the week that are used in item recurrence patterns. |
| Recurrence_DayOfWeekIndex | String | False |
Describes which week in a month is used in a relative yearly recurrence pattern. 使用できる値は次のとおりです。First, Second, Third, Fourth, Last |
| Recurrence_Month | String | False |
Describes the month when a yearly recurring item occurs. |
| Recurrence_DayOfMonth | Integer | False |
Describes the day in a month on which a recurring item occurs. |
| Recurrence_Interval | Integer | False |
Defines the interval between two consecutive recurring items. |
| Recurrence_FirstDayOfWeek | String | False |
Specifies the first day of the week. |
| Recurrence_Duration | String | False |
Contains the recurrence duration type for task items and meeting requests. 使用できる値は次のとおりです。NoEndRecurrence, EndDateRecurrence, NumberedRecurrence |
| Recurrence_StartDate | Datetime | False |
Represents the start date of a recurring task or calendar item. |
| Recurrence_EndDate | Datetime | False |
Represents the end date of a recurring task or calendar item. |
| Recurrence_NumberOfOccurrences | Integer | False |
Contains the number of occurrences of a recurring item. |
| StartDate | Datetime | False |
Represents the start date of a task item. |
| Status | String | False |
Represents the status of a task item. |
| StatusDescription | String | True |
Contains an explanation of the task status. |
| TotalWork | Integer | False |
Contains a description of how much work is associated with an item. |
| EffectiveRights_CreateAssociated | Boolean | True |
Indicates whether a client can create an associated contents table. |
| EffectiveRights_CreateContents | Boolean | True |
Indicates whether a client can create a contents table. |
| EffectiveRights_CreateHierarchy | Boolean | True |
Indicates whether a client can create a hierarchy table. |
| EffectiveRights_Delete | Boolean | True |
Indicates whether a client can delete a folder or item. |
| EffectiveRights_Modify | Boolean | True |
Indicates whether a client can modify a folder or item. |
| EffectiveRights_Read | Boolean | True |
Indicates whether a client can read a folder or item. |
| EffectiveRights_ViewPrivateItems | Boolean | True |
Indicates whether a private item can be viewed. |
| LastModifiedName | String | True |
Contains the display name of the last user to modify an item. |
| LastModifiedTime | Datetime | True |
Indicates when an item was last modified. |
| IsAssociated | Boolean | False |
Indicates whether the item is associated with a folder. |
| WebClientReadFormQueryString | String | True |
Represents a URL to concatenate to the Microsoft Office Outlook Web App endpoint to read an item in Outlook Web App. |
| WebClientEditFormQueryString | String | True |
Represents a URL to concatenate to the Outlook Web App endpoint to edit an item in Outlook Web App. |
| ConversationId | String | True |
Contains the identifier of an item or conversation. |
| ConversationChangeKey | String | True |
Contains the change key of an item or conversation. |
| UniqueBody | String | False |
Represents an HTML fragment or plain-text which represents the unique body of this conversation. |
| UniqueBodyType | String | False |
Describes how the unique item body is stored in the item (HTML or TEXT). |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| ImpersonationUser | String |
The Identifier of the user to impersonate. |
| ImpersonationType | String |
The type of Identifier used for the impersonation user (PrincipalName, SID, PrimarySmtpAddress, SmtpAddress). |
| SharedMailboxEmail | String |
The email of a shared mailbox. Use this to retrieve the task items of a shared mailbox. |
ストアドプロシージャはファンクションライクなインターフェースで、Microsoft Exchange の単純なSELECT/INSERT/UPDATE/DELETE 処理にとどまらずCloud の機能を拡張します。
ストアドプロシージャは、パラメータのリストを受け取り、目的の機能を実行し、プロシージャが成功したか失敗したかを示すとともにMicrosoft Exchange から関連するレスポンスデータを返します。
| Name | Description |
| CreateAttachments | Create and add a attachment to an existing email. |
| GetAttachment | Retrieves the indicated attachments. |
| GetUserOofSettings | Provides access to the OOF settings of a user. A user is identified by the email address of the user. If the OOF message is null and OOF is enabled, no OOF message is sent. |
| MoveItem | Move messages from one folder to another. |
| SendItem | Send an email message that is located in the Exchange store. |
| SendMail | Send a new email to the specified recipients. |
Create and add a attachment to an existing email.
Use CreateAttachments procedure to add an attachment to an existing email. To specify file paths of the attachments use Attachments input, whereas for base 64 encoded content specify AttachmentContent and AttachmentName.
EXECUTE CreateAttachments ItemId = 'AQMkAGRlMWQ5MDg0LWI5ZTQtNDk2Yi1hOTQ1LTU4YzFmMzEwZjlhMgBGAAAD/FjxR3cIwE6TEGSCVtIHcwcAQyR2Iw3coEOaUD1BLt0tnAAAAxEAAABDJHYjDdygQ5pQPUEu3S2cAAVZoayvAAAA', Attachments = 'C:\Users\User\Desktop\logfile.txt,C:\Users\User\Desktop\TestConnectionLog.txt'
| Name | Type | Required | Description |
| ItemId | String | True | The id of the email item to add the attachment to. |
| Attachments | String | False | The attachment to be added. |
| AttachmentContent | String | False | The attachment content base 64 encoded. |
| AttachmentName | String | False | The name of the file that will be created out of the attachment content. |
| Name | Type | Description |
| AttachmentIds | String | The id of the attachment created |
Retrieves the indicated attachments.
| Name | Type | Required | Description |
| AttachmentIds | String | True | A semicolon-separated list of the Ids of the attachments to retrieve. |
| IncludeMimeContent | String | False | Specifies whether the Multipurpose Internet Mail Extensions (MIME) content of an item or attachment is returned in the response. This element is optional. |
| BodyType | String | False | Identifies how the body text is formatted in the response. This element is optional. Valid values are: Best, HTML, Text. |
| AttachmentFolder | String | False | Folder to download attachments to. |
| Overwrite | String | False | If true, conflicting files will be overwritten, otherwise they will be indexed.
デフォルト値はtrueです。 |
| Name | Type | Description |
| AttachmentId | String | Identifies the file attachment. |
| Name | String | Represents the name of the attachment. |
| ContentType | String | Describes the Multipurpose Internet Mail Extensions (MIME) type of the attachment content. |
| ContentId | String | Represents an identifier for the contents of an attachment. ContentId can be set to any string value. Applications can use ContentId to implement their own identification mechanisms. |
| ContentLocation | String | Contains the Uniform Resource Identifier (URI) that corresponds to the location of the content of the attachment. |
| Size | String | Represents the size in bytes of the file attachment. |
| LastModifiedTime | String | Represents when the file attachment was last modified. |
| IsInline | String | Represents whether the attachment appears in-line within an item. |
| IsContactPhoto | String | Indicates whether the file attachment is a contact picture. |
| Content | String | Contains the Base64-encoded contents of the file attachment. |
Provides access to the OOF settings of a user. A user is identified by the email address of the user. If the OOF message is null and OOF is enabled, no OOF message is sent.
| Name | Type | Required | Description |
| User | String | False | The email address of the user whose OOF settings to retreive. |
| ImpersonationUser | String | False | The email address of the user to impersonate when requesting OOF settings. |
| ImpersonationType | String | False | The type of Identifier used for the impersonation user (PrincipalName, SID, PrimarySmtpAddress, SmtpAddress). |
| Name | Type | Description |
| OofState | String | The user's Out of Office (OOF) state. (Disabled or Enabled or Scheduled) |
| ExternalAudience | String | The value that determines to whom external Out of Office (OOF) messages are sent. (None or Known or All) |
| StartTime | String | Represents the start of the time span set with an OOF status. |
| EndTime | String | Represents the end of the time span set with an OOF status. |
| InternalReply | String | The out of office (OOF) response sent to other users in the user's domain or trusted domains. |
| ExternalReply | String | The out of office (OOF) response that is sent to addresses outside the recipient's domain or trusted domains. |
Move messages from one folder to another.
| Name | Type | Required | Description |
| ItemId | String | False | The unique ItemId of the item to be sent (required). |
| ItemChangekey | String | False | The unique ItemChangeKey of the item to be sent (required). |
| FolderDisplayName | String | False | The display name of the new folder. |
| Name | Type | Description |
| ResponseClass | String | The overall class of the response for the SendItem operation (Success/Warning/Error). |
| ResponseCode | String | A response code for the SendItem operation. |
| MessageText | String | Specific message text describing any errors or warning for the SendItem operation. |
Send an email message that is located in the Exchange store.
| Name | Type | Required | Description |
| ItemId | String | True | The unique ItemId of the item to be sent (required). |
| ItemChangekey | String | True | The unique ItemChangeKey of the item to be sent (required). |
| SaveToFolder | String | False | Boolean value to determine whether or not to save the item. |
| SavedItemFolder | String | False | The folder where the item will be saved. This value can be the name of any of the standard folders or the FolderId of a custom folder. Defaults to SentItems. |
| Name | Type | Description |
| ResponseClass | String | The overall class of the response for the SendItem operation (Success/Warning/Error). |
| ResponseCode | String | A response code for the SendItem operation. |
| MessageText | String | Specific message text describing any errors or warning for the SendItem operation. |
Send a new email to the specified recipients.
You can send a mail with attachments, specifying one or more file paths or the base 64 content of the attachment. To specify file paths use Attachments input, whereas for base 64 encoded content specify AttachmentContent and AttachmentName.
Note that if the file location specified in the 'Attachments' input is a folder, than all the files of the first level in that folder will be sent as attachments.
EXECUTE SendMail Subject = 'Issue with CData Cloud', Content = 'I am not being able to connect to Microsoft Exchange', Attachments = 'C:\Users\User\Desktop\logfile.txt,C:\Users\User\Desktop\TestConnectionLog.txt', ToRecipients = '[email protected]'
You can include CC and BCC recipients and send the mail. To specify one or more recipients, separate them using ','.
EXECUTE SendMail Subject = 'Issue with CData Cloud', Content = 'I am am not being able to connect to Microsoft Exchange', ToRecipients = '[email protected]', CcRecipients = '[email protected], [email protected], [email protected]', BccRecipients = '[email protected]'
| Name | Type | Required | Description |
| Subject | String | True | The email subject. |
| Content | String | True | Email body content. |
| Attachments | String | False | The attachments. Specify the filepaths of the files you want to attach in the following format: 'filepath1,filepath2'. |
| AttachmentContent | String | False | The attachment content base 64 encoded. |
| AttachmentName | String | False | The name of the file that will be created out of the attachment content. |
| ToRecipients | String | True | The recipients. Specify recipients in the following format: '[email protected],[email protected]'. |
| CcRecipients | String | False | The Cc: recipients for the message. Specify recipients in the following format: '[email protected],[email protected]'. |
| BccRecipients | String | False | The Bcc: recipients for the message. Specify recipients in the following format: '[email protected],[email protected]'. |
CData Cloud は、Microsoft Exchange オブジェクトをリレーショナルテーブルおよびビューとしてモデル化します。 Microsoft Exchange オブジェクトは他のオブジェクトとリレーションを持ちます。テーブルでは、これらのリレーションは外部キーを使用して表されます。 次のセクションでは、利用可能なAPI オブジェクトを示し、Microsoft Exchange API へのSQL の実行について詳しく説明します。
ほとんどのデータベースオブジェクトのスキーマは、シンプルなテキストベースのコンフィギュレーションファイルで定義されます。
Cloud はMicrosoft Exchange のデータを、標準のSQL ステートメントを使用してクエリできるリレーショナルデータベースのテーブルのリストとしてモデル化します。
| Name | Description |
| CalendarGroups | CalendarGroups table for Exchange data provider. |
| Calendars | Calendars table for Exchange data provider. |
| Contacts | Contacts table for Exchange data provider. |
| Events | Events table for Exchange data provider. |
| ExtendedProperties | Create, update, delete, and query Contacts items. |
| Groups | Groups table for Exchange data provider. |
| MailFolders | MailFolders table for Exchange data provider. |
| Messages | Messages table for Exchange data provider. |
| Users | Users table for Exchange data provider. |
CalendarGroups table for Exchange data provider.
| Name | Type | ReadOnly | Description |
| id [KEY] | String | False | |
| changeKey | String | False | |
| classId | String | False | |
| name | String | False |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| userId | String |
Calendars table for Exchange data provider.
Id を指定するかすべてを選択することで、Calendars をクエリできます。
SELECT * FROM Calendars WHERE Id = 'your Calendar Id goes here'
エンティティから特定のカラムを選択して、そのカラムでフィルタします。
SELECT Name FROM Calendars WHERE Name LIKE 'John Calendar%'
Note:AlwaysRequstTableDependencies 接続プロパティを指定、あるいは参照CalendarGroupId で選択またはフィルタリングしない限り、CalendarGroupId の値はNull のままです。
新しいCalendar を作成するには、Name を最低限に指定します。
INSERT INTO Calendars (Name) VALUES ('John')
| Name | Type | ReadOnly | Description |
| calendarGroupId | String | False | |
| id [KEY] | String | False | |
| canEdit | Bool | False | |
| canShare | Bool | False | |
| canViewPrivateItems | Bool | False | |
| changeKey | String | False | |
| color | String | False | |
| name | String | False | |
| owner_name | String | False | |
| owner_address | String | False |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| userId | String |
Contacts table for Exchange data provider.
Id を指定するかすべてを選択することで、Contacts をクエリできます。
SELECT * FROM Contacts WHERE Id = 'your Contact Id goes here'
エンティティから特定のカラムを選択して、そのカラムでフィルタします。
SELECT GivenName FROM Contacts WHERE GivenName LIKE 'John%'
新しいContact を作成するには、GivenName とSurname を最低限に指定します。
INSERT INTO Contacts (GivenName, Surname) VALUES ('John', 'Smith')
| Name | Type | ReadOnly | Description |
| id [KEY] | String | False | |
| categories | String | False | |
| changeKey | String | False | |
| createdDateTime | Datetime | False | |
| lastModifiedDateTime | Datetime | False | |
| assistantName | String | False | |
| birthday | Datetime | False | |
| businessAddress_street | String | False | |
| businessAddress_city | String | False | |
| businessAddress_state | String | False | |
| businessAddress_countryOrRegion | String | False | |
| businessAddress_postalCode | String | False | |
| businessHomePage | String | False | |
| businessPhones | String | False | |
| children | String | False | |
| companyName | String | False | |
| department | String | False | |
| displayName | String | False | |
| emailAddresses | String | False | |
| fileAs | String | False | |
| generation | String | False | |
| givenName | String | False | |
| homeAddress_street | String | False | |
| homeAddress_city | String | False | |
| homeAddress_state | String | False | |
| homeAddress_countryOrRegion | String | False | |
| homeAddress_postalCode | String | False | |
| homePhones | String | False | |
| imAddresses | String | False | |
| initials | String | False | |
| jobTitle | String | False | |
| manager | String | False | |
| middleName | String | False | |
| mobilePhone | String | False | |
| nickName | String | False | |
| officeLocation | String | False | |
| otherAddress_street | String | False | |
| otherAddress_city | String | False | |
| otherAddress_state | String | False | |
| otherAddress_countryOrRegion | String | False | |
| otherAddress_postalCode | String | False | |
| parentFolderId | String | False | |
| personalNotes | String | False | |
| profession | String | False | |
| spouseName | String | False | |
| surname | String | False | |
| title | String | False | |
| yomiCompanyName | String | False | |
| yomiGivenName | String | False | |
| yomiSurname | String | False |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| userId | String |
Events table for Exchange data provider.
Events からすべてを取得したり、Event (Id)、CalendarId を指定したり、あるいは結果を特定のカラムでフィルタしたりできます。
Note:AlwaysRequstTableDependencies 接続プロパティを指定、あるいは参照カラムCalendarId で選択またはフィルタリングしない限り、CalendarId の値はNull のままです。
Note: To retrieve all Events for Other user (Works only in case of OAuthGrantType=CLIENT), you can specify the query like -
SELECT * FROM Events WHERE UserId = '0409f710-2aa9-4f05-8944-ef382160f1d1' AND CalendarId IN (SELECT Id FROM Calendars WHERE UserId = '0409f710-2aa9-4f05-8944-ef382160f1d1')
新しいイベントを作成するには、タイムゾーンを含むstart とend が必須です。
INSERT INTO Events (Subject, Body_Content, Start_DateTime, Start_TimeZone, End_DateTime, End_TimeZone) VALUES ('New Test Event', 'Event created using Office365Provider', '2016-01-01T10:00:00', 'UTC', '2016-01-01T11:00:00', 'UTC')
Note:デフォルトで、このステートメントはイベントをデフォルトカレンダー内に作成します。
| Name | Type | ReadOnly | Description |
| id [KEY] | String | False | |
| categories | String | False | |
| changeKey | String | False | |
| createdDateTime | Datetime | False | |
| lastModifiedDateTime | Datetime | False | |
| attendees | String | False | |
| body_contentType | String | False | |
| body_content | String | False | |
| bodyPreview | String | False | |
| end_dateTime | String | False | |
| end_timeZone | String | False | |
| hasAttachments | Bool | False | |
| iCalUId | String | False | |
| importance | String | False | |
| isAllDay | Bool | False | |
| isCancelled | Bool | False | |
| isOrganizer | Bool | False | |
| isReminderOn | Bool | False | |
| location_displayName | String | False | |
| location_locationEmailAddress | String | False | |
| location_address_street | String | False | |
| location_address_city | String | False | |
| location_address_state | String | False | |
| location_address_countryOrRegion | String | False | |
| location_address_postalCode | String | False | |
| location_coordinates_altitude | Double | False | |
| location_coordinates_latitude | Double | False | |
| location_coordinates_longitude | Double | False | |
| location_coordinates_accuracy | Double | False | |
| location_coordinates_altitudeAccuracy | Double | False | |
| location_locationUri | String | False | |
| location_locationType | String | False | |
| location_uniqueId | String | False | |
| location_uniqueIdType | String | False | |
| locations | String | False | |
| onlineMeetingUrl | String | False | |
| organizer_emailAddress_name | String | False | |
| organizer_emailAddress_address | String | False | |
| originalEndTimeZone | String | False | |
| originalStart | Datetime | False | |
| originalStartTimeZone | String | False | |
| recurrence_pattern_type | String | False | |
| recurrence_pattern_interval | Int | False | |
| recurrence_pattern_month | Int | False | |
| recurrence_pattern_dayOfMonth | Int | False | |
| recurrence_pattern_daysOfWeek | String | False | |
| recurrence_pattern_firstDayOfWeek | String | False | |
| recurrence_pattern_index | String | False | |
| recurrence_range_type | String | False | |
| recurrence_range_startDate | Date | False | |
| recurrence_range_endDate | Date | False | |
| recurrence_range_recurrenceTimeZone | String | False | |
| recurrence_range_numberOfOccurrences | Int | False | |
| reminderMinutesBeforeStart | Int | False | |
| responseRequested | Bool | False | |
| responseStatus_response | String | False | |
| responseStatus_time | Datetime | False | |
| sensitivity | String | False | |
| seriesMasterId | String | False | |
| showAs | String | False | |
| start_dateTime | String | False | |
| start_timeZone | String | False | |
| subject | String | False | |
| transactionId | String | False | |
| type | String | False | |
| webLink | String | False | |
| calendarId | String | False |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| groupId | String | |
| userId | String |
Create, update, delete, and query Contacts items.
You can query ExtendedProperties for a specific resource from the following resources: Events, Calendars and Messages. In order to get the value for an extended property you need to specify:
- Entity field, wether it is Message, Event or Calendar
- EntityId, the Id of the resource
- Id, the id of the extended property.
SELECT * FROM ExtendedProperties WHERE Entity = 'Event' AND EntityId = 'AQMkAGRlMWQ5MDg0LWI5ZTQtNDk2Yi1hOTQ1LTU4YzFmMzEwZjlhMgBGAAAD-FjxR3cIwE6TEGSCVtIHcwcAQyR2Iw3coEOaUD1BLt0tnAAAAw8AAABDJHYjDdygQ5pQPUEu3S2cAAZq-GA0AAAA' AND Id = 'String {66f5a359-4659-4830-9070-00047ec6ac6e} Name Color'
You can create an extended property in a resource, by specifying Entity, EntityId, Id of the extended property and its Value.
INSERT INTO ExtendedProperties (Entity, EntityId, Id, Value) VALUES ('Calendar', 'AQMkAGRlMWQ5MDg0LWI5ZTQtNDk2Yi1hOTQ1LTU4YzFmMzEwZjlhMgBGAAAD-FjxR3cIwE6TEGSCVtIHcwcAQyR2Iw3coEOaUD1BLt0tnAAAAwcAAABDJHYjDdygQ5pQPUEu3S2cAASHbEoeAAAA', 'String {66f5a359-4659-4830-9070-00047ec6ac6e} Name Color', 'Yellow')
| Name | Type | ReadOnly | Description |
| Id | String | False |
The Identifier of the extended property |
| Value | String | False |
The value of the extended property |
| Entity | String | False |
The entity type. |
| EntityId | String | False |
The entity id that the extended properties belong to. |
Groups table for Exchange data provider.
Groups には管理者権限が必要です。それらを使用するには、独自のカスタムOAuth アプリを作成して、適切なOAuthClientId とOAuthClientSecret を 設定する必要があります。このアプリでは、Group.Read.All とGroup.ReadWrite.All の権限をリクエストするように設定する必要があります。 これは、https://apps.dev.microsoft.com またはhttp://portal.azure.com の[App Registrations]パネルで設定できます。
Groups 権限を認可するには、管理者は組織全体に対してGroups のアクセス許可を付与する必要があります。これは、管理者の認可エンドポイントを
介して実行できます。管理者に次のWeb ページに移動して許可を与えさせるだけです。その後、通常どおりにOAuth 認可を実行します。
https://login.microsoftonline.com/common/adminconsent?client_id=[YourClientId]&redirect_uri=http://localhost:33333
組織に複数のテナントがある場合は、url の/common/ をテナントのID に置き換えて、どのテナントに権限を付与するかを指定できます。
すべてのグループを取得したり、GroupId (Id) を指定したり、あるいは特定のカラムでフィルタしたりします。
SELECT * FROM Groups WHERE Id = 'Group Id here' SELECT Id, Description, DisplayName FROM Groups WHERE Name = 'test'
新しいSecurity Group を作成するには、以下が必要です。
INSERT INTO Groups (DisplayName, MailEnabled, MailNickname, SecurityEnabled) VALUES ('Test group', false, 'test', true)
| Name | Type | ReadOnly | Description |
| id [KEY] | String | False | |
| deletedDateTime | Datetime | False | |
| allowExternalSenders | Bool | False | |
| assignedLicenses | String | False | |
| autoSubscribeNewMembers | Bool | False | |
| classification | String | False | |
| createdDateTime | Datetime | False | |
| description | String | False | |
| displayName | String | False | |
| groupTypes | String | False | |
| hasMembersWithLicenseErrors | Bool | False | |
| isArchived | Bool | False | |
| isSubscribedByMail | Bool | False | |
| licenseProcessingState_state | String | False | |
| String | False | ||
| mailEnabled | Bool | False | |
| mailNickname | String | False | |
| onPremisesLastSyncDateTime | Datetime | False | |
| onPremisesProvisioningErrors | String | False | |
| onPremisesSecurityIdentifier | String | False | |
| onPremisesSyncEnabled | Bool | False | |
| preferredDataLocation | String | False | |
| proxyAddresses | String | False | |
| renewedDateTime | Datetime | False | |
| securityEnabled | Bool | False | |
| unseenCount | Int | False | |
| visibility | String | False |
MailFolders table for Exchange data provider.
Get the mail folder collection directly under the root folder of the signed-in user. The returned collection includes any mail search folders directly under the root:
SELECT * FROM MailFolders SELECT * FROM MailFolders where userId ='1c67f23f-8681-4c67-9c19-253e628442d5'
Note: This operation does not return all mail folders in a mailbox, only the child folders of the root folder. To return all mail folders in a mailbox, each child folder must be traversed separately.
SELECT * FROM CData.MSGraph.MailFolders Where userId ='1c67f23f-8681-4c67-9c19-253e628442d5' and id = 'AQMkAGY1YTc5NjE4LWE4MWYtNDI3Yy1iYgBmYi1hNDk0ZmMxZTJjZDgALgAAAz6irHRWjXlFqioVZIpcig4BAG0Pxgnb-IlHsx0QnxhOmzcAAAIBGAAAAA==' SELECT * FROM CData.MSGraph.MailFolders Where userId ='1c67f23f-8681-4c67-9c19-253e628442d5' and id = (SELECT parentFolderId from CData.MSGraph.MailFolders where userId ='1c67f23f-8681-4c67-9c19-253e628442d5' and displayName = 'Inbox')
| Name | Type | ReadOnly | Description |
| id [KEY] | String | False | |
| childFolderCount | Int | False | |
| displayName | String | False | |
| parentFolderId | String | False | |
| totalItemCount | Int | False | |
| unreadItemCount | Int | False |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| userId | String |
Messages table for Exchange data provider.
Messages からすべてを取得したり、Message (Id)、ParentFolderId を指定したり、あるいは結果を特定のカラムでフィルタしたりできます。
SELECT * FROM Messages WHERE Id = 'MyMessageId' SELECT * FROM Messages WHERE ParentFolderId = 'MyParentfolderId' SELECT * FROM Messages WHERE ParentFolderId = 'Drafts'
Note:AlwaysRequstTableDependencies 接続プロパティを指定、あるいは参照カラムParentFolderId で選択またはフィルタリングしない限り、ParentFolderId の値はNull のままです。
挿入後、新しいMessage がユーザーのDrafts フォルダに作成されます。
INSERT INTO Messages (Subject, Body_Content) VALUES ('New test Email', 'Test Email created.')
| Name | Type | ReadOnly | Description |
| id [KEY] | String | False | |
| categories | String | False | |
| changeKey | String | False | |
| createdDateTime | Datetime | False | |
| lastModifiedDateTime | Datetime | False | |
| bccRecipients | String | False | |
| body_contentType | String | False | |
| body_content | String | False | |
| bodyPreview | String | False | |
| ccRecipients | String | False | |
| conversationId | String | False | |
| flag_completedDateTime_dateTime | String | False | |
| flag_completedDateTime_timeZone | String | False | |
| flag_flagStatus | String | False | |
| from_emailAddress_name | String | False | |
| from_emailAddress_address | String | False | |
| hasAttachments | Bool | False | |
| importance | String | False | |
| inferenceClassification | String | False | |
| internetMessageHeaders | String | False | |
| internetMessageId | String | False | |
| isDeliveryReceiptRequested | Bool | False | |
| isDraft | Bool | False | |
| isRead | Bool | False | |
| isReadReceiptRequested | Bool | False | |
| parentFolderId | String | False | |
| receivedDateTime | Datetime | False | |
| replyTo | String | False | |
| sender_emailAddress_name | String | False | |
| sender_emailAddress_address | String | False | |
| sentDateTime | Datetime | False | |
| subject | String | False | |
| toRecipients | String | False | |
| uniqueBody_contentType | String | False | |
| uniqueBody_content | String | False | |
| webLink | String | False |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| userId | String |
Users table for Exchange data provider.
Users からすべてを取得したり、Id を指定したり、カラムでフィルタリングしたりすることで、Users テーブルをクエリします。
SELECT * FROM Users WHERE Id = '616391f0-32d8-4127-8f25-aa55771d6617' SELECT DisplayName, Id FROM Users WHERE DisplayName LIKE 'John%'
新しい組織User を作成するには、以下が必要です。
INSERT INTO Users (AccountEnabled, DisplayName, MailNickname, UserPrincipalName, PasswordProfile_ForceChangePasswordNextSignIn, PasswordProfile_Password) VALUES (false, 'John Smith', 'JohnS', '[email protected]', true, '123password')
| Name | Type | ReadOnly | Description |
| id [KEY] | String | False | |
| deletedDateTime | Datetime | False | |
| aboutMe | String | False | |
| accountEnabled | Bool | False | |
| ageGroup | String | False | |
| assignedLicenses | String | False | |
| assignedPlans | String | False | |
| birthday | Datetime | False | |
| businessPhones | String | False | |
| city | String | False | |
| companyName | String | False | |
| consentProvidedForMinor | String | False | |
| country | String | False | |
| department | String | False | |
| deviceEnrollmentLimit | Int | False | |
| displayName | String | False | |
| employeeId | String | False | |
| faxNumber | String | False | |
| givenName | String | False | |
| hireDate | Datetime | False | |
| imAddresses | String | False | |
| interests | String | False | |
| isResourceAccount | Bool | False | |
| jobTitle | String | False | |
| legalAgeGroupClassification | String | False | |
| licenseAssignmentStates | String | False | |
| String | False | ||
| mailboxSettings_automaticRepliesSetting_status | String | False | |
| mailboxSettings_automaticRepliesSetting_externalAudience | String | False | |
| mailboxSettings_automaticRepliesSetting_scheduledStartDateTime_dateTime | String | False | |
| mailboxSettings_automaticRepliesSetting_scheduledStartDateTime_timeZone | String | False | |
| mailboxSettings_automaticRepliesSetting_internalReplyMessage | String | False | |
| mailboxSettings_automaticRepliesSetting_externalReplyMessage | String | False | |
| mailboxSettings_archiveFolder | String | False | |
| mailboxSettings_timeZone | String | False | |
| mailboxSettings_language_locale | String | False | |
| mailboxSettings_language_displayName | String | False | |
| mailboxSettings_workingHours_daysOfWeek | String | False | |
| mailboxSettings_workingHours_startTime | Time | False | |
| mailboxSettings_workingHours_endTime | Time | False | |
| mailboxSettings_workingHours_timeZone_name | String | False | |
| mailNickname | String | False | |
| mobilePhone | String | False | |
| mySite | String | False | |
| officeLocation | String | False | |
| onPremisesDistinguishedName | String | False | |
| onPremisesDomainName | String | False | |
| onPremisesExtensionAttributes_extensionAttribute1 | String | False | |
| onPremisesExtensionAttributes_extensionAttribute2 | String | False | |
| onPremisesExtensionAttributes_extensionAttribute3 | String | False | |
| onPremisesExtensionAttributes_extensionAttribute4 | String | False | |
| onPremisesExtensionAttributes_extensionAttribute5 | String | False | |
| onPremisesExtensionAttributes_extensionAttribute6 | String | False | |
| onPremisesExtensionAttributes_extensionAttribute7 | String | False | |
| onPremisesExtensionAttributes_extensionAttribute8 | String | False | |
| onPremisesExtensionAttributes_extensionAttribute9 | String | False | |
| onPremisesExtensionAttributes_extensionAttribute10 | String | False | |
| onPremisesExtensionAttributes_extensionAttribute11 | String | False | |
| onPremisesExtensionAttributes_extensionAttribute12 | String | False | |
| onPremisesExtensionAttributes_extensionAttribute13 | String | False | |
| onPremisesExtensionAttributes_extensionAttribute14 | String | False | |
| onPremisesExtensionAttributes_extensionAttribute15 | String | False | |
| onPremisesImmutableId | String | False | |
| onPremisesLastSyncDateTime | Datetime | False | |
| onPremisesProvisioningErrors | String | False | |
| onPremisesSamAccountName | String | False | |
| onPremisesSecurityIdentifier | String | False | |
| onPremisesSyncEnabled | Bool | False | |
| onPremisesUserPrincipalName | String | False | |
| otherMails | String | False | |
| passwordPolicies | String | False | |
| passwordProfile_password | String | False | |
| passwordProfile_forceChangePasswordNextSignIn | Bool | False | |
| passwordProfile_forceChangePasswordNextSignInWithMfa | Bool | False | |
| pastProjects | String | False | |
| postalCode | String | False | |
| preferredLanguage | String | False | |
| preferredName | String | False | |
| provisionedPlans | String | False | |
| proxyAddresses | String | False | |
| responsibilities | String | False | |
| schools | String | False | |
| showInAddressList | Bool | False | |
| signInSessionsValidFromDateTime | Datetime | False | |
| skills | String | False | |
| state | String | False | |
| streetAddress | String | False | |
| surname | String | False | |
| usageLocation | String | False | |
| userPrincipalName | String | False | |
| userType | String | False |
ビューは、データを示すという点でテーブルに似ていますが、ビューは読み取り専用です。
クエリは、ビューに対して通常のテーブルと同様に実行することができます。
| Name | Description |
| CalendarView | Retrieve the ccurrences, exceptions, and single instances of events in a calendar view defined by a time range, from the user's default calendar, or from some other calendar of the user's. |
| EventAttachments | EventAttachments View for Exchange data provider. |
| EventInstances | EventInstances View for Exchange data provider. |
| GroupMembers | Group Members table for Exchange data provider. |
| MessageAttachments | MessageAttachments View for Exchange data provider. |
Retrieve the ccurrences, exceptions, and single instances of events in a calendar view defined by a time range, from the user's default calendar, or from some other calendar of the user's.
Get the occurrences, exceptions, and single instances of events in a calendar view defined by a time range, from the user's default calendar, or from some other calendar of the user's. By default only the event occurrences from the user's default calendar in the range of the last 30 days are returned. You can filter results by CalendarId, Start_DateTime, End_DateTime.
For example the following queries are processed server-side:
SELECT * FROM CalendarView WHERE Start_DateTime >= '2019-12-10 15:00' AND End_DateTime <= '2020-01-10 14:30'
SELECT * FROM CalendarView WHERE CalendarId = 'AQMkAGRlMWQ5MDg0LWI5ZTQtNDk2Yi1hOTQ1LTU4YzFmMzEwZjlhMgBGAAAD-FjxR3cIwE6TEGSCVtIHcwcAQyR2Iw3coEOaUD1BLt0tnAAAAwcAAABDJHYjDdygQ5pQPUEu3S2cAAACC_IAAAA='
NOTE Unless specifying the AlwaysRequestTableDependencies connection property or selecting/filtering by the reference column CalendarId, the value for CalendarId remains null.
| Name | Type | Description |
| id [KEY] | String | |
| categories | String | |
| changeKey | String | |
| createdDateTime | Datetime | |
| lastModifiedDateTime | Datetime | |
| attendees | String | |
| body_contentType | String | |
| body_content | String | |
| bodyPreview | String | |
| end_dateTime | String | |
| end_timeZone | String | |
| hasAttachments | Bool | |
| iCalUId | String | |
| importance | String | |
| isAllDay | Bool | |
| isCancelled | Bool | |
| isOrganizer | Bool | |
| isReminderOn | Bool | |
| location_displayName | String | |
| location_locationEmailAddress | String | |
| location_address_street | String | |
| location_address_city | String | |
| location_address_state | String | |
| location_address_countryOrRegion | String | |
| location_address_postalCode | String | |
| location_coordinates_altitude | Double | |
| location_coordinates_latitude | Double | |
| location_coordinates_longitude | Double | |
| location_coordinates_accuracy | Double | |
| location_coordinates_altitudeAccuracy | Double | |
| location_locationUri | String | |
| location_locationType | String | |
| location_uniqueId | String | |
| location_uniqueIdType | String | |
| locations | String | |
| onlineMeetingUrl | String | |
| organizer_emailAddress_name | String | |
| organizer_emailAddress_address | String | |
| originalEndTimeZone | String | |
| originalStart | Datetime | |
| originalStartTimeZone | String | |
| recurrence_pattern_type | String | |
| recurrence_pattern_interval | Int | |
| recurrence_pattern_month | Int | |
| recurrence_pattern_dayOfMonth | Int | |
| recurrence_pattern_daysOfWeek | String | |
| recurrence_pattern_firstDayOfWeek | String | |
| recurrence_pattern_index | String | |
| recurrence_range_type | String | |
| recurrence_range_startDate | Date | |
| recurrence_range_endDate | Date | |
| recurrence_range_recurrenceTimeZone | String | |
| recurrence_range_numberOfOccurrences | Int | |
| reminderMinutesBeforeStart | Int | |
| responseRequested | Bool | |
| responseStatus_response | String | |
| responseStatus_time | Datetime | |
| sensitivity | String | |
| seriesMasterId | String | |
| showAs | String | |
| start_dateTime | String | |
| start_timeZone | String | |
| subject | String | |
| type | String | |
| webLink | String | |
| calendarId | String |
EventAttachments View for Exchange data provider.
Event Id(必須)を指定してEventAttachments をクエリできます。
SELECT * FROM [EventAttachments] WHERE EventId = 'event id'
このクエリは、指定されたEvent の添付ファイルを、コンテンツを含めずにリストとして取得します。
| Name | Type | Description |
| eventId | String | |
| id [KEY] | String | |
| contentType | String | |
| isInline | Bool | |
| lastModifiedDateTime | Datetime | |
| name | String | |
| size | Int | |
| userId | String |
EventInstances View for Exchange data provider.
You can query EventInstances by specifying the Event Id, StartDatetime and EndDateTime. EventId is a required field, instead StartDatetime and EndDateTime have a default range of the last 30 days. If you query filtering only by EventId and the specific event does not exist within this time range, you will get empty results.
SELECT * FROM [EventInstances] WHERE id = 'event id' AND StartDateTime = '2018/01/01' AND EndDateTime = '2018/12/31'
SELECT * FROM [EventInstances] WHERE id = 'event id'
By default, if StartDateTime and EndDateTime filters are not specified, only the event instances from the user's default calendar in the range of the last 30 days will be returned. Otherwise, the query will get the instances of the Event during the period specified by StartDateTime and EndDateTime.
| Name | Type | Description |
| eventId | String | |
| id [KEY] | String | |
| categories | String | |
| changeKey | String | |
| createdDateTime | Datetime | |
| lastModifiedDateTime | Datetime | |
| attendees | String | |
| body_contentType | String | |
| body_content | String | |
| bodyPreview | String | |
| end_dateTime | String | |
| end_timeZone | String | |
| hasAttachments | Bool | |
| iCalUId | String | |
| importance | String | |
| isAllDay | Bool | |
| isCancelled | Bool | |
| isOrganizer | Bool | |
| isReminderOn | Bool | |
| location_displayName | String | |
| location_locationEmailAddress | String | |
| location_address_street | String | |
| location_address_city | String | |
| location_address_state | String | |
| location_address_countryOrRegion | String | |
| location_address_postalCode | String | |
| location_coordinates_altitude | Double | |
| location_coordinates_latitude | Double | |
| location_coordinates_longitude | Double | |
| location_coordinates_accuracy | Double | |
| location_coordinates_altitudeAccuracy | Double | |
| location_locationUri | String | |
| location_locationType | String | |
| location_uniqueId | String | |
| location_uniqueIdType | String | |
| locations | String | |
| onlineMeetingUrl | String | |
| organizer_emailAddress_name | String | |
| organizer_emailAddress_address | String | |
| originalEndTimeZone | String | |
| originalStart | Datetime | |
| originalStartTimeZone | String | |
| recurrence_pattern_type | String | |
| recurrence_pattern_interval | Int | |
| recurrence_pattern_month | Int | |
| recurrence_pattern_dayOfMonth | Int | |
| recurrence_pattern_daysOfWeek | String | |
| recurrence_pattern_firstDayOfWeek | String | |
| recurrence_pattern_index | String | |
| recurrence_range_type | String | |
| recurrence_range_startDate | Date | |
| recurrence_range_endDate | Date | |
| recurrence_range_recurrenceTimeZone | String | |
| recurrence_range_numberOfOccurrences | Int | |
| reminderMinutesBeforeStart | Int | |
| responseRequested | Bool | |
| responseStatus_response | String | |
| responseStatus_time | Datetime | |
| sensitivity | String | |
| seriesMasterId | String | |
| showAs | String | |
| start_dateTime | String | |
| start_timeZone | String | |
| subject | String | |
| type | String | |
| webLink | String |
Group Members table for Exchange data provider.
Groups require Administrator permissions. To work with them, you must create your own custom OAuth App and set the appropriate OAuthClientId and OAuthClientSecret. In this app, you must configure it to request the GroupMember.Read.All and the GroupMember.ReadWrite.All permissions. This can be done at https://apps.dev.microsoft.com, or in the App Registrations panel at http://portal.azure.com.
To authorize GroupMembers permissions, an administrator must grant the GroupMembers permissions for your organization at large. This can be done via the
administrator authorization endpoint. Simply have the administrator navigate to the following web page and grant permissions. Then
run the OAuth authorization as normal afterwards.
https://login.microsoftonline.com/common/adminconsent?client_id=[YourClientId]&redirect_uri=http://localhost:33333
Note that if your organization has multiple tenants, you may replace the /common/ in the url with the tenant id to indicate which tenant to grant permissions for.
The Cloud uses the Microsoft Exchange API to process WHERE clause conditions. The rest of the filter is executed client-side in the Cloud.
For example, the following query is processed server-side:
SELECT * FROM GroupMembers
| Name | Type | Description |
| Id [KEY] | String | |
| GroupId | String | |
| AssistantName | String | |
| BusinessPhones | String | |
| Classification | String | |
| CreatedDateTime | Datetime | |
| CreationOptions | String | |
| DeletedDateTime | Datetime | |
| Description | String | |
| DisplayName | String | |
| ExpirationDateTime | Datetime | |
| GivenName | String | |
| GroupTypes | String | |
| IsAssignableToRole | Boolean | |
| JobTitle | String | |
| String | ||
| MailEnabled | Bool | |
| MailNickname | String | |
| MembershipRule | String | |
| MembershipRuleProcessingState | String | |
| MobilePhone | String | |
| OfficeLocation | String | |
| OnPremisesDomainName | String | |
| OnPremisesLastSyncDateTime | Datetime | |
| OnPremisesNetBiosName | String | |
| OnPremisesProvisioningErrors | String | |
| OnPremisesSamAccountName | String | |
| OnPremisesSecurityIdentifier | String | |
| OnPremisesSyncEnabled | Bool | |
| PreferredDataLocation | String | |
| PreferredLanguage | String | |
| ProxyAddresses | String | |
| RenewedDateTime | Datetime | |
| SecurityEnabled | Bool | |
| Surname | String | |
| UserPrincipalName | String | |
| Visibility | String |
MessageAttachments View for Exchange data provider.
Message Id(必須)を指定してMessageAttachments をクエリできます。
SELECT * FROM [MessageAttachments] WHERE MessageId = 'message id' SELECT * FROM [MessageAttachments] WHERE UserId = '92dfdfc6-f1d4-4965-9f71-30e4da4fa7fe' AND Id = 'AQMkAGRlMWQ5MDg0LWI5ZTQtNDk2Yi1hOTQ1LTU4YzFmMzEwZjlhMgBGAAAD-FjxR3cIwE6TEGSCVtIHcwcAQyR2Iw3coEOaUD1BLt0tnAAAAw4AAABDJHYjDdygQ5pQPUEu3S2cAAhJYnE3AAAAARIAEADUFdfqaYanT5_pTPvzgMYh' AND MessageId = 'AQMkAGRlMWQ5MDg0LWI5ZTQtNDk2Yi1hOTQ1LTU4YzFmMzEwZjlhMgBGAAAD-FjxR3cIwE6TEGSCVtIHcwcAQyR2Iw3coEOaUD1BLt0tnAAAAw4AAABDJHYjDdygQ5pQPUEu3S2cAAhJYnE3AAAA'
このクエリは、指定されたMessage の添付ファイルを、コンテンツを含めずにリストとして取得します。
| Name | Type | Description |
| messageId | String | |
| id [KEY] | String | |
| contentType | String | |
| isInline | Bool | |
| lastModifiedDateTime | Datetime | |
| name | String | |
| size | Int | |
| userId | String |
ストアドプロシージャはファンクションライクなインターフェースで、Microsoft Exchange の単純なSELECT/INSERT/UPDATE/DELETE 処理にとどまらずCloud の機能を拡張します。
ストアドプロシージャは、パラメータのリストを受け取り、目的の機能を実行し、プロシージャが成功したか失敗したかを示すとともにMicrosoft Exchange から関連するレスポンスデータを返します。
| Name | Description |
| AddAttachments | Add attachment(s) to a message. |
| DeleteAttachment | Delete attachment. |
| DismissEventReminder | Dismiss the reminder for an Event. |
| FetchAdditionalUserFields | Fetch all T1, T2, and T3 fields for a specified user. |
| ForwardMail | Retrieve Forwarded Mail. |
| GetAdminConsentURL | Gets the admin consent URL that must be opened separately by an admin of a given domain to grant access to your application. Only needed when using custom OAuth credentials. |
| MoveMail | Move mail. |
| ReplyToMessage | Reply to a Message. |
| RespondToEvent | Respond to an Event. |
| SendMail | Send mail. |
| SnoozeEventReminder | Snooze the reminder for an Event. |
Add attachment(s) to a message.
| Name | Type | Required | Description |
| Id | String | True | The Id of the message to add the attachment to. |
| DestinationType | String | True | The destination object type where the attachment is being added. Allowed values are; Message or Event. |
| FileName | String | True | Name of the email attachment. |
| LocalFile | String | False | The file containing the content of the attachment |
| ContentBytes | String | False | Content of the attachment encoded to base 64. |
| UserId | String | False | Id of the Impersonated User. |
| Name | Type | Description |
| ContentBytes | String | Added Successfully - if the attachment content was added to the message/event. |
| Id | String | Id of the attachment that was added. |
| LastModifiedDateTime | Datetime | Last modified date time of attachment that was added. |
| Isinline | Boolean | Whether the attachment that was added is inline. |
| Name | String | Name of the attachment that was added. |
| Contenttype | String | Content-type of the attachment that was added. |
| Size | Int | Size of the attachment that was added. |
Delete attachment.
| Name | Type | Required | Description |
| MessageId | String | True | The email Id. |
| AttachmentID | String | True | Id of the attachment. |
| UserId | String | False | Id of the Impersonated User. |
| Name | Type | Description |
| Success | String | Indicates whether or not the operation was successful. |
Dismiss the reminder for an Event.
| Name | Type | Required | Description |
| EventId | String | True | The event of the Id you are dismissing. |
| UserId | String | False | Id of the Impersonated User. |
| Name | Type | Description |
| Success | Boolean | If the request is sucessful. |
Fetch all T1, T2, and T3 fields for a specified user.
| Name | Type | Required | Description |
| UserId | String | True | The unique identifier of the user. |
| IncludeFields | String | False | Comma-separated list of the specific fields you want to include in the fetch. |
| ExcludeFields | String | False | Comma-separated list of the specific fields you want to exclude in the fetch. |
| Name | Type | Description |
| * | String | Results of the query. |
Retrieve Forwarded Mail.
| Name | Type | Required | Description |
| MessageId | String | True | Id of the email. |
| ToRecipients | String | True | A semicolon-separated list of recipient emails. |
| Comment | String | False | BodyContent on top of the original message. |
| UserId | String | False | Id of the Impersonated User. |
| Name | Type | Description |
| Success | Boolean | If the request is sucessful. |
Gets the admin consent URL that must be opened separately by an admin of a given domain to grant access to your application. Only needed when using custom OAuth credentials.
| Name | Type | Required | Description |
| CallbackUrl | String | False | The URL the user will be redirected to after authorizing your application. This value must match the Reply URL in the Azure AD app settings. |
| State | String | False | The same value for state that you sent when you requested the authorization code. |
| Scope | String | False | A space-separated list of scopes to request from the Admin. Please check the Microsoft Graph API documentation for a list of available permissions. |
| Name | Type | Description |
| URL | String | The authorization URL, entered into a Web browser to obtain the verifier token and authorize your app. |
Move mail.
| Name | Type | Required | Description |
| MessageId | String | True | The email Id. |
| DestinationId | String | True | Id of the destination folder where the email will be moved to. |
| Name | Type | Description |
| Id | String | Id of the message that was moved. |
Reply to a Message.
| Name | Type | Required | Description |
| MessageId | String | True | Id of the email. |
| Comment | String | False | BodyContent on top of the original message. |
| ToAll | String | False | Reply to all or not.
デフォルト値はfalseです。 |
| UserId | String | False | Id of the Impersonated User. |
| Name | Type | Description |
| Success | Boolean | If the request is sucessful. |
Respond to an Event.
| Name | Type | Required | Description |
| EventId | String | True | The event of the Id you are responding to. |
| ResponseType | String | True | The type of the response to this event. Allowed values: Accept, Decline |
| SendResponse | String | False | True if a response is to be sent to the organizer; otherwise, false. Optional. Default is true.
デフォルト値はtrueです。 |
| Comment | String | False | Text included in the response. Optional. |
| Name | Type | Description |
| Success | Boolean | If the request is sucessful. |
Send mail.
| Name | Type | Required | Description |
| Id | String | False | The Id of the message to be sent (this is optional). The user can either use an existing email Id or send a new email by optionally filling the other fields. |
| Subject | String | False | The email subject. |
| Content | String | False | Email body content. |
| Attachments | String | False | The attachments. Specify File attachments in the following format: filename1,filecontent1;filename2,filecontent2. Each filecontent can be either base64 data, or the path of a local file with the @ character before it |
| FileName | String | False | Name of the email attachment. |
| LocalFile | String | False | The file containing the content of the attachment |
| ContentBytes | String | False | Content of the attachment encoded to base 64. |
| ToRecipients | String | False | The recipients. Specify recipients in the following order: [email protected];[email protected]. |
| CcRecipients | String | False | The Cc: recipients for the message. Specify recipients in the following order: [email protected];[email protected]. |
| BccRecipients | String | False | The Bcc: recipients for the message. Specify recipients in the following order: [email protected];[email protected]. |
| SenderEmail | String | False | The email address on who's behalf email needs to be sent. Set this if you want to send email on behalf of other user's account. |
| FromEmail | String | False | The email address of the User from which email needs to be sent. Set this if you want to send email from other user's account. |
| UserId | String | False | Id of the Impersonated User. |
| ContentType | String | False | The content type of the email body.
使用できる値は次のとおりです。text, html デフォルト値はtextです。 |
| Name | Type | Description |
| Success | Boolean | If the request is sucessful. |
Snooze the reminder for an Event.
| Name | Type | Required | Description |
| EventId | String | True | The event of the Id you are dismissing. |
| DateTime | String | False | The new date-time to postpone the event reminder to. |
| TimeZone | String | False | The TimeZone for the chosen date-time |
| UserId | String | False | Id of the Impersonated User. |
| Name | Type | Description |
| Success | Boolean | If the request is sucessful. |
このセクションで説明されているシステムテーブルをクエリして、スキーマ情報、データソース機能に関する情報、およびバッチ操作の統計にアクセスできます。
以下のテーブルは、Microsoft Exchange のデータベースメタデータを返します。
以下のテーブルは、データソースへの接続方法およびクエリ方法についての情報を返します。
次のテーブルは、データ変更クエリのクエリ統計を返します。
利用可能なデータベースをリストします。
次のクエリは、接続文字列で決定されるすべてのデータベースを取得します。
SELECT * FROM sys_catalogs
| Name | Type | Description |
| CatalogName | String | データベース名。 |
利用可能なスキーマをリストします。
次のクエリは、すべての利用可能なスキーマを取得します。
SELECT * FROM sys_schemas
| Name | Type | Description |
| CatalogName | String | データベース名。 |
| SchemaName | String | スキーマ名。 |
利用可能なテーブルをリストします。
次のクエリは、利用可能なテーブルおよびビューを取得します。
SELECT * FROM sys_tables
| Name | Type | Description |
| CatalogName | String | テーブルまたはビューを含むデータベース。 |
| SchemaName | String | テーブルまたはビューを含むスキーマ。 |
| TableName | String | テーブル名またはビュー名。 |
| TableType | String | テーブルの種類(テーブルまたはビュー)。 |
| Description | String | テーブルまたはビューの説明。 |
| IsUpdateable | Boolean | テーブルが更新可能かどうか。 |
利用可能なテーブルおよびビューのカラムについて説明します。
次のクエリは、Contacts テーブルのカラムとデータ型を返します。
SELECT ColumnName, DataTypeName FROM sys_tablecolumns WHERE TableName='Contacts'
| Name | Type | Description |
| CatalogName | String | テーブルまたはビューを含むデータベースの名前。 |
| SchemaName | String | テーブルまたはビューを含むスキーマ。 |
| TableName | String | カラムを含むテーブルまたはビューの名前。 |
| ColumnName | String | カラム名。 |
| DataTypeName | String | データ型の名前。 |
| DataType | Int32 | データ型を示す整数値。この値は、実行時に環境に基づいて決定されます。 |
| Length | Int32 | カラムのストレージサイズ。 |
| DisplaySize | Int32 | 指定されたカラムの通常の最大幅(文字数)。 |
| NumericPrecision | Int32 | 数値データの最大桁数。文字データおよび日時データの場合は、カラムの長さ(文字数)。 |
| NumericScale | Int32 | カラムのスケール(小数点以下の桁数)。 |
| IsNullable | Boolean | カラムがNull を含められるかどうか。 |
| Description | String | カラムの簡単な説明。 |
| Ordinal | Int32 | カラムのシーケンスナンバー。 |
| IsAutoIncrement | String | カラムに固定増分値が割り当てられるかどうか。 |
| IsGeneratedColumn | String | 生成されたカラムであるかどうか。 |
| IsHidden | Boolean | カラムが非表示かどうか。 |
| IsArray | Boolean | カラムが配列かどうか。 |
| IsReadOnly | Boolean | カラムが読み取り専用かどうか。 |
| IsKey | Boolean | sys_tablecolumns から返されたフィールドがテーブルの主キーであるかどうか。 |
利用可能なストアドプロシージャをリストします。
次のクエリは、利用可能なストアドプロシージャを取得します。
SELECT * FROM sys_procedures
| Name | Type | Description |
| CatalogName | String | ストアドプロシージャを含むデータベース。 |
| SchemaName | String | ストアドプロシージャを含むスキーマ。 |
| ProcedureName | String | ストアドプロシージャの名前。 |
| Description | String | ストアドプロシージャの説明。 |
| ProcedureType | String | PROCEDURE やFUNCTION などのプロシージャのタイプ。 |
ストアドプロシージャパラメータについて説明します。
次のクエリは、GetAttachment ストアドプロシージャのすべての入力パラメータについての情報を返します。
SELECT * FROM sys_procedureparameters WHERE ProcedureName='GetAttachment' AND Direction=1 OR Direction=2
| Name | Type | Description |
| CatalogName | String | ストアドプロシージャを含むデータベースの名前。 |
| SchemaName | String | ストアドプロシージャを含むスキーマの名前。 |
| ProcedureName | String | パラメータを含むストアドプロシージャの名前。 |
| ColumnName | String | ストアドプロシージャパラメータの名前。 |
| Direction | Int32 | パラメータのタイプに対応する整数値:input (1)。input/output (2)、またはoutput(4)。input/output タイプパラメータは、入力パラメータと出力パラメータの両方になれます。 |
| DataTypeName | String | データ型の名前。 |
| DataType | Int32 | データ型を示す整数値。この値は、実行時に環境に基づいて決定されます。 |
| Length | Int32 | 文字データの場合は、許可される文字数。数値データの場合は、許可される桁数。 |
| NumericPrecision | Int32 | 数値データの場合は最大精度。文字データおよび日時データの場合は、カラムの長さ(文字数)。 |
| NumericScale | Int32 | 数値データの小数点以下の桁数。 |
| IsNullable | Boolean | パラメータがNull を含められるかどうか。 |
| IsRequired | Boolean | プロシージャの実行にパラメータが必要かどうか。 |
| IsArray | Boolean | パラメータが配列かどうか。 |
| Description | String | パラメータの説明。 |
| Ordinal | Int32 | パラメータのインデックス。 |
主キーおよび外部キーについて説明します。
次のクエリは、Contacts テーブルの主キーを取得します。
SELECT * FROM sys_keycolumns WHERE IsKey='True' AND TableName='Contacts'
| Name | Type | Description |
| CatalogName | String | キーを含むデータベースの名前。 |
| SchemaName | String | キーを含むスキーマの名前。 |
| TableName | String | キーを含むテーブルの名前。 |
| ColumnName | String | キーカラムの名前 |
| IsKey | Boolean | カラムがTableName フィールドで参照されるテーブル内の主キーかどうか。 |
| IsForeignKey | Boolean | カラムがTableName フィールドで参照される外部キーかどうか。 |
| PrimaryKeyName | String | 主キーの名前。 |
| ForeignKeyName | String | 外部キーの名前。 |
| ReferencedCatalogName | String | 主キーを含むデータベース。 |
| ReferencedSchemaName | String | 主キーを含むスキーマ。 |
| ReferencedTableName | String | 主キーを含むテーブル。 |
| ReferencedColumnName | String | 主キーのカラム名。 |
外部キーについて説明します。
次のクエリは、他のテーブルを参照するすべての外部キーを取得します。
SELECT * FROM sys_foreignkeys WHERE ForeignKeyType = 'FOREIGNKEY_TYPE_IMPORT'
| 名前 | タイプ | 説明 |
| CatalogName | String | キーを含むデータベースの名前。 |
| SchemaName | String | キーを含むスキーマの名前。 |
| TableName | String | キーを含むテーブルの名前。 |
| ColumnName | String | キーカラムの名前 |
| PrimaryKeyName | String | 主キーの名前。 |
| ForeignKeyName | String | 外部キーの名前。 |
| ReferencedCatalogName | String | 主キーを含むデータベース。 |
| ReferencedSchemaName | String | 主キーを含むスキーマ。 |
| ReferencedTableName | String | 主キーを含むテーブル。 |
| ReferencedColumnName | String | 主キーのカラム名。 |
| ForeignKeyType | String | 外部キーがインポート(他のテーブルを指す)キーかエクスポート(他のテーブルから参照される)キーかを指定します。 |
主キーについて説明します。
次のクエリは、すべてのテーブルとビューから主キーを取得します。
SELECT * FROM sys_primarykeys
| Name | Type | Description |
| CatalogName | String | キーを含むデータベースの名前。 |
| SchemaName | String | キーを含むスキーマの名前。 |
| TableName | String | キーを含むテーブルの名前。 |
| ColumnName | String | キーカラムの名前。 |
| KeySeq | String | 主キーのシーケンス番号。 |
| KeyName | String | 主キーの名前。 |
利用可能なインデックスについて説明します。インデックスをフィルタリングすることで、より高速なクエリ応答時間でセレクティブクエリを記述できます。
次のクエリは、主キーでないすべてのインデックスを取得します。
SELECT * FROM sys_indexes WHERE IsPrimary='false'
| Name | Type | Description |
| CatalogName | String | インデックスを含むデータベースの名前。 |
| SchemaName | String | インデックスを含むスキーマの名前。 |
| TableName | String | インデックスを含むテーブルの名前。 |
| IndexName | String | インデックス名。 |
| ColumnName | String | インデックスに関連付けられたカラムの名前。 |
| IsUnique | Boolean | インデックスが固有の場合はTrue。そうでない場合はFalse。 |
| IsPrimary | Boolean | インデックスが主キーの場合はTrue。そうでない場合はFalse。 |
| Type | Int16 | インデックスタイプに対応する整数値:statistic (0)、clustered (1)、hashed (2)、またはother (3)。 |
| SortOrder | String | 並べ替え順序:A が昇順、D が降順。 |
| OrdinalPosition | Int16 | インデックスのカラムのシーケンスナンバー。 |
利用可能な接続プロパティと、接続文字列に設定されている接続プロパティに関する情報を返します。
次のクエリは、接続文字列に設定されている、あるいはデフォルト値で設定されているすべての接続プロパティを取得します。
SELECT * FROM sys_connection_props WHERE Value <> ''
| Name | Type | Description |
| Name | String | 接続プロパティ名。 |
| ShortDescription | String | 簡単な説明。 |
| Type | String | 接続プロパティのデータ型。 |
| Default | String | 明示的に設定されていない場合のデフォルト値。 |
| Values | String | 可能な値のカンマ区切りリスト。別な値が指定されていると、検証エラーがスローされます。 |
| Value | String | 設定した値またはあらかじめ設定されたデフォルト。 |
| Required | Boolean | プロパティが接続に必要かどうか。 |
| Category | String | 接続プロパティのカテゴリ。 |
| IsSessionProperty | String | プロパティが、現在の接続に関する情報を保存するために使用されるセッションプロパティかどうか。 |
| Sensitivity | String | プロパティの機密度。これは、プロパティがロギングおよび認証フォームで難読化されているかどうかを通知します。 |
| PropertyName | String | キャメルケースの短縮形の接続プロパティ名。 |
| Ordinal | Int32 | パラメータのインデックス。 |
| CatOrdinal | Int32 | パラメータカテゴリのインデックス。 |
| Hierarchy | String | このプロパティと一緒に設定する必要がある、関連のある依存プロパティを表示します。 |
| Visible | Boolean | プロパティが接続UI に表示されるかどうかを通知します。 |
| ETC | String | プロパティに関するその他のさまざまな情報。 |
Cloud がデータソースにオフロードできるSELECT クエリ処理について説明します。
SQL 構文の詳細については、SQL 準拠 を参照してください。
以下はSQL 機能のサンプルデータセットです。 SELECT 機能のいくつかの側面がサポートされている場合には、カンマ区切りのリストで返されます。サポートされていない場合、カラムにはNO が入ります。
| 名前 | 説明 | 有効な値 |
| AGGREGATE_FUNCTIONS | サポートされている集計関数。 | AVG, COUNT, MAX, MIN, SUM, DISTINCT |
| COUNT | COUNT 関数がサポートされているかどうか。 | YES, NO |
| IDENTIFIER_QUOTE_OPEN_CHAR | 識別子をエスケープするための開始文字。 | [ |
| IDENTIFIER_QUOTE_CLOSE_CHAR | 識別子をエスケープするための終了文字。 | ] |
| SUPPORTED_OPERATORS | サポートされているSQL 演算子。 | =, >, <, >=, <=, <>, !=, LIKE, NOT LIKE, IN, NOT IN, IS NULL, IS NOT NULL, AND, OR |
| GROUP_BY | GROUP BY がサポートされているかどうか。サポートされている場合、どのレベルでサポートされているか。 | NO, NO_RELATION, EQUALS_SELECT, SQL_GB_COLLATE |
| OJ_CAPABILITIES | サポートされている外部結合の種類。 | NO, LEFT, RIGHT, FULL, INNER, NOT_ORDERED, ALL_COMPARISON_OPS |
| OUTER_JOINS | 外部結合がサポートされているかどうか。 | YES, NO |
| SUBQUERIES | サブクエリがサポートされているかどうか。サポートされていれば、どのレベルでサポートされているか。 | NO, COMPARISON, EXISTS, IN, CORRELATED_SUBQUERIES, QUANTIFIED |
| STRING_FUNCTIONS | サポートされている文字列関数。 | LENGTH, CHAR, LOCATE, REPLACE, SUBSTRING, RTRIM, LTRIM, RIGHT, LEFT, UCASE, SPACE, SOUNDEX, LCASE, CONCAT, ASCII, REPEAT, OCTET, BIT, POSITION, INSERT, TRIM, UPPER, REGEXP, LOWER, DIFFERENCE, CHARACTER, SUBSTR, STR, REVERSE, PLAN, UUIDTOSTR, TRANSLATE, TRAILING, TO, STUFF, STRTOUUID, STRING, SPLIT, SORTKEY, SIMILAR, REPLICATE, PATINDEX, LPAD, LEN, LEADING, KEY, INSTR, INSERTSTR, HTML, GRAPHICAL, CONVERT, COLLATION, CHARINDEX, BYTE |
| NUMERIC_FUNCTIONS | サポートされている数値関数。 | ABS, ACOS, ASIN, ATAN, ATAN2, CEILING, COS, COT, EXP, FLOOR, LOG, MOD, SIGN, SIN, SQRT, TAN, PI, RAND, DEGREES, LOG10, POWER, RADIANS, ROUND, TRUNCATE |
| TIMEDATE_FUNCTIONS | サポートされている日付および時刻関数。 | NOW, CURDATE, DAYOFMONTH, DAYOFWEEK, DAYOFYEAR, MONTH, QUARTER, WEEK, YEAR, CURTIME, HOUR, MINUTE, SECOND, TIMESTAMPADD, TIMESTAMPDIFF, DAYNAME, MONTHNAME, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, EXTRACT |
| REPLICATION_SKIP_TABLES | レプリケーション中にスキップされたテーブルを示します。 | |
| REPLICATION_TIMECHECK_COLUMNS | レプリケーション中に更新判断のカラムとして使用するかどうかを、(指定された順に)チェックするカラムのリストを含む文字列の配列。 | |
| IDENTIFIER_PATTERN | 識別子としてどの文字列が有効かを示す文字列値。 | |
| SUPPORT_TRANSACTION | プロバイダーが、コミットやロールバックなどのトランザクションをサポートしているかどうかを示します。 | YES, NO |
| DIALECT | 使用するSQL ダイアレクトを示します。 | |
| KEY_PROPERTIES | Uniform データベースを特定するプロパティを示します。 | |
| SUPPORTS_MULTIPLE_SCHEMAS | プロバイダー用に複数のスキームが存在するかどうかを示します。 | YES, NO |
| SUPPORTS_MULTIPLE_CATALOGS | プロバイダー用に複数のカタログが存在するかどうかを示します。 | YES, NO |
| DATASYNCVERSION | このドライバーにアクセスするために必要な、CData Sync のバージョン。 | Standard, Starter, Professional, Enterprise |
| DATASYNCCATEGORY | このドライバーのCData Sync カテゴリ。 | Source, Destination, Cloud Destination |
| SUPPORTSENHANCEDSQL | API で提供されている以上の、追加SQL 機能がサポートされているかどうか。 | TRUE, FALSE |
| SUPPORTS_BATCH_OPERATIONS | バッチ操作がサポートされているかどうか。 | YES, NO |
| SQL_CAP | このドライバーでサポートされているすべてのSQL 機能。 | SELECT, INSERT, DELETE, UPDATE, TRANSACTIONS, ORDERBY, OAUTH, ASSIGNEDID, LIMIT, LIKE, BULKINSERT, COUNT, BULKDELETE, BULKUPDATE, GROUPBY, HAVING, AGGS, OFFSET, REPLICATE, COUNTDISTINCT, JOINS, DROP, CREATE, DISTINCT, INNERJOINS, SUBQUERIES, ALTER, MULTIPLESCHEMAS, GROUPBYNORELATION, OUTERJOINS, UNIONALL, UNION, UPSERT, GETDELETED, CROSSJOINS, GROUPBYCOLLATE, MULTIPLECATS, FULLOUTERJOIN, MERGE, JSONEXTRACT, BULKUPSERT, SUM, SUBQUERIESFULL, MIN, MAX, JOINSFULL, XMLEXTRACT, AVG, MULTISTATEMENTS, FOREIGNKEYS, CASE, LEFTJOINS, COMMAJOINS, WITH, LITERALS, RENAME, NESTEDTABLES, EXECUTE, BATCH, BASIC, INDEX |
| PREFERRED_CACHE_OPTIONS | 使用したいcacheOptions を指定する文字列値。 | |
| ENABLE_EF_ADVANCED_QUERY | ドライバーがEntity Framework の高度なクエリをサポートしているかどうかを示します。サポートしていなければ、クエリはクライアントサイドで処理されます。 | YES, NO |
| PSEUDO_COLUMNS | 利用可能な疑似カラムを示す文字列の配列。 | |
| MERGE_ALWAYS | 値がtrue であれば、CData Sync 内でMerge Model が強制的に実行されます。 | TRUE, FALSE |
| REPLICATION_MIN_DATE_QUERY | レプリケート開始日時を返すSELECT クエリ。 | |
| REPLICATION_MIN_FUNCTION | サーバーサイドでmin を実行するために使用する式名を、プロバイダーが指定できるようになります。 | |
| REPLICATION_START_DATE | レプリケート開始日を、プロバイダーが指定できるようになります。 | |
| REPLICATION_MAX_DATE_QUERY | レプリケート終了日時を返すSELECT クエリ。 | |
| REPLICATION_MAX_FUNCTION | サーバーサイドでmax を実行するために使用する式名を、プロバイダーが指定できるようになります。 | |
| IGNORE_INTERVALS_ON_INITIAL_REPLICATE | 初回のレプリケートで、レプリケートをチャンクに分割しないテーブルのリスト。 | |
| CHECKCACHE_USE_PARENTID | CheckCache 構文を親キーカラムに対して実行するかどうかを示します。 | TRUE, FALSE |
| CREATE_SCHEMA_PROCEDURES | スキーマファイルの生成に使用できる、ストアドプロシージャを示します。 |
次のクエリは、WHERE 句で使用できる演算子を取得します。
SELECT * FROM sys_sqlinfo WHERE Name = 'SUPPORTED_OPERATORS'
WHERE 句では、個々のテーブルの制限や要件が異なる場合がありますので注意してください。詳しくは、データモデル セクションを参照してください。
| Name | Type | Description |
| NAME | String | SQL 構文のコンポーネント、またはサーバー上で処理できる機能。 |
| VALUE | String | サポートされるSQL またはSQL 構文の詳細。 |
試行された変更に関する情報を返します。
次のクエリは、バッチ処理で変更された行のId を取得します。
SELECT * FROM sys_identity
| Name | Type | Description |
| Id | String | データ変更処理から返された、データベース生成Id。 |
| Batch | String | バッチの識別子。1 は単一処理。 |
| Operation | String | バッチ内の処理の結果:INSERTED、UPDATED、またはDELETED。 |
| Message | String | SUCCESS、またはバッチ内の更新が失敗した場合のエラーメッセージ。 |
利用可能なシステム情報を説明します。
次のクエリは、すべてのカラムを取得します。
SELECT * FROM sys_information
| Name | Type | Description |
| Product | String | 製品名。 |
| Version | String | 製品のバージョン番号。 |
| Datasource | String | 製品が接続するデータソースの名前。 |
| NodeId | String | 製品がインストールされているマシンの固有識別子。 |
| HelpURL | String | 製品のヘルプドキュメントのURL。 |
| License | String | 製品のライセンス情報。(この情報が利用できない場合、この項目は空白のままか「N/A」と表示されます。) |
| Location | String | 製品のライブラリが格納されているファイルパスの場所。 |
| Environment | String | 製品が現在稼働している環境またはランタイムのバージョン。 |
| DataSyncVersion | String | 本コネクタを使用するために必要なCData Sync のティア。 |
| DataSyncCategory | String | CData Sync 機能のカテゴリ(例:Source、Destination)。 |
| プロパティ | 説明 |
| Platform | Exchange サーバーと関連したプラットフォーム。 |
| Schema | Microsoft Exchange スキーマを指定します。 |
| AuthScheme | 認証で使用されるスキーム。許容されるエントリーはNTLM、Basic、Digest、None、Negotiate、OAuth、AzureAD、AzureServicePrincipal、AzureMSI です。 |
| Server | 接続するExchange サーバーのアドレス。 |
| User | Exchange サイトへの認証を行っているユーザー。 |
| Password | Exchange サイトへの認証に使われるパスワード。 |
| Office365Environment | The Office365 Environment to use when establishing a connection. |
| プロパティ | 説明 |
| AzureTenant | データにアクセスするために使用されるMicrosoft Exchange テナントを、名前(例えば、contoso.omnicrosoft.com)またはID で識別します。(条件付き) |
| プロパティ | 説明 |
| OAuthClientId | カスタムOAuth アプリケーションの作成時に割り当てられたクライアントId を指定します。(コンシューマーキーとも呼ばれます。)このID は、カスタムアプリケーションをOAuth 認可サーバーに登録します。 |
| OAuthClientSecret | カスタムOAuth アプリケーションの作成時に割り当てられたクライアントシークレットを指定します。( コンシューマーシークレット とも呼ばれます。)このシークレットは、カスタムアプリケーションをOAuth 認可サーバーに登録します。 |
| OAuthGrantType | 選択したOAuth フローのグラント種別を指定します。 この値は、OAuth カスタムアプリケーション作成時に設定されたグラント種別と同じである必要があります。 |
| UserId | Specify this UserId in order to access Outlook resources for a specific user. Required when OAuthGrantType is set to 'CLIENT'. |
| プロパティ | 説明 |
| OAuthJWTCert | JWT 証明書のストア。 |
| OAuthJWTCertType | JWT 証明書を格納するキーストアの種類。 |
| OAuthJWTCertPassword | OAuth JWT 証明書のパスワード。パスワードを必要とする証明書ストアにアクセスするために使用されます。証明書ストアがパスワードを必要としない場合は、このプロパティを空白のままにします。 |
| OAuthJWTCertSubject | OAuth JWT 証明書のサブジェクトで、ストアで一致する証明書を検索するために使用されます。部分一致と、先頭の証明書を選択するためのワイルドカード '*' をサポートします。 |
| プロパティ | 説明 |
| SSLServerCert | TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。 |
| プロパティ | 説明 |
| Verbosity | ログファイルのVerbosity レベルを指定し、記録される情報の詳細度を制御します。サポートされる値の範囲は1から5までです。 |
| プロパティ | 説明 |
| BrowsableSchemas | レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
| プロパティ | 説明 |
| AlwaysRequestTableDependencies | Control whether you want to always retrieve Table Dependencies (Foreign Keys). Setting this to TRUE might slow down queries and increase amount of calls made. |
| BodyType | The BodyType element identifies how the body text is formatted in the response. |
| CustomHeaders | 他のプロパティ(ContentType やFrom など)から作成されたリクエストヘッダーに追加する、追加HTTP ヘッダーを指定します。このプロパティは、特殊または非標準のAPI 用にリクエストをカスタマイズするために使用します。 |
| DirectoryRetrievalDepth | Depth level of folder to query Folders and Items. |
| DisableServerSideFiltering | Control whether you want to disable server-side filtering. By default this property is set to False, and server-side filtering is attempted for all columns/tables. |
| GroupId | Specify this GroupId in order to access the OneNote documents for this group. |
| ImpersonationType | Exchange サイトにリクエストを送信する際の偽装を使うための識別子のタイプ。 |
| ImpersonationUser | Exchange サイトにリクエストを送信する際の偽装ユーザー。 |
| IncludeContent | A boolean indicating if additional content should be retrieved. |
| MaxRows | 集計やGROUP BY を使用しないクエリで返される最大行数を指定します。 |
| Pagesize | Microsoft Exchange から返される、1ページあたりの結果の最大数を指定します。この設定は、ほとんどのユースケースに最適化されている、データソースによって設定されたデフォルトのページサイズをオーバーライドします。 |
| PseudoColumns | テーブルカラムとして公開する擬似カラムを指定します。'TableName=ColumnName;TableName=ColumnName' という形式を使用します。デフォルトは空の文字列で、このプロパティを無効にします。 |
| Timeout | provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。デフォルトは60秒です。タイムアウトを無効にするには0を設定します。 |
| UseInplaceArchive | A boolean indicating whether to use either the in-place archive or the default mailbox. |
このセクションでは、本プロバイダーの接続文字列で設定可能なAuthentication プロパティの全リストを提供します。
| プロパティ | 説明 |
| Platform | Exchange サーバーと関連したプラットフォーム。 |
| Schema | Microsoft Exchange スキーマを指定します。 |
| AuthScheme | 認証で使用されるスキーム。許容されるエントリーはNTLM、Basic、Digest、None、Negotiate、OAuth、AzureAD、AzureServicePrincipal、AzureMSI です。 |
| Server | 接続するExchange サーバーのアドレス。 |
| User | Exchange サイトへの認証を行っているユーザー。 |
| Password | Exchange サイトへの認証に使われるパスワード。 |
| Office365Environment | The Office365 Environment to use when establishing a connection. |
Exchange サーバーと関連したプラットフォーム。
string
"Exchange_Online"
Exchange サーバーと関連したプラットフォーム。
| Exchange2007* | Exchange 2007 の当初リリースバージョンをターゲットとします。 |
| Exchange2007_SP1* | Exchange 2007 Service Pack 1 (SP1)、Exchange 2007 Service Pack 2 (SP2)、およびExchange 2007 Service Pack 3 (SP3) をターゲットとします。 |
| Exchange2010 | Exchange 2010 をターゲットとします。 |
| Exchange2010_SP1 | Exchange 2010 Service Pack 1 (SP1) をターゲットとします。 |
| Exchange2010_SP2 | Exchange 2010 Service Pack 2 (SP2) およびExchange 2010 Service Pack 3 (SP3) をターゲットとします。 |
| Exchange2013 | Exchange 2013 をターゲットとします。 |
| Exchange2013_SP1 | Exchange 2013 Service Pack 1 (SP1) をターゲットとします。 |
| Exchange_Online | Exchange Online をターゲットとします。 |
* - これらのAPI はWHERE 句を使ったフィルタリングをサポートしていません。
Microsoft Exchange スキーマを指定します。
string
"MSGraph"
利用可能なスキーマはEWS およびMSGraph です。
認証で使用されるスキーム。許容されるエントリーはNTLM、Basic、Digest、None、Negotiate、OAuth、AzureAD、AzureServicePrincipal、AzureMSI です。
string
"OAuth"
このフィールドは、Password およびUser とともに、サーバーに対して認証をするために使われます。デフォルトオプションはBasic です。次のオプションを使って、認証スキームを選択してください。
接続するExchange サーバーのアドレス。
string
""
Exchange Web サービスURL に設定します。Exchange Online の場合は、https://outlook.office365.com/EWS/Exchange.asmx に設定してください。Exchange On-Premise の場合は、https://<mail-server>/EWS/Exchange.asmx に設定してください。
Exchange サイトへの認証を行っているユーザー。
string
""
Exchange サイトへの認証に使われるユーザー名。NOTE:Exchange によると、User とPassword を使ったベーシック認証はまもなく非推奨となります。
Exchange サイトへの認証に使われるパスワード。
string
""
Exchange サイトへの認証に使われるパスワード。NOTE:Exchange によると、User とPassword を使ったベーシック認証はまもなく非推奨となります。
The Office365 Environment to use when establishing a connection.
string
"GLOBAL"
In most cases, leaving the environment set to global will work. However, if your Office365 Account has been added to a different environment, the Office365Environment may be used to specify which environment. The available values are GLOBAL, CHINA, USGOVTGCC, USGOVTDOD.
このセクションでは、本プロバイダーの接続文字列で設定可能なAzure Authentication プロパティの全リストを提供します。
| プロパティ | 説明 |
| AzureTenant | データにアクセスするために使用されるMicrosoft Exchange テナントを、名前(例えば、contoso.omnicrosoft.com)またはID で識別します。(条件付き) |
データにアクセスするために使用されるMicrosoft Exchange テナントを、名前(例えば、contoso.omnicrosoft.com)またはID で識別します。(条件付き)
string
""
テナントは、主にドメイン(例えば、microsoft.com)に関連付けられた、組織のデジタル表現です。 テナントは、Tenant ID(ディレクトリID とも呼ばれる)によって管理されます。これは、Azure リソースへのアクセスや管理権限をユーザーに割り当てる際に指定します。
Azure ポータルでディレクトリID を見つけるには、Azure Active Directory -> プロパティに移動します。
AuthScheme = AzureServicePrincipal またはAzureServicePrincipalCert のいずれかである場合、またはAzureTenant = AzureAD であり、ユーザーが複数のテナントに属している場合は、AzureTenant を指定する必要があります。
このセクションでは、本プロバイダーの接続文字列で設定可能なOAuth プロパティの全リストを提供します。
| プロパティ | 説明 |
| OAuthClientId | カスタムOAuth アプリケーションの作成時に割り当てられたクライアントId を指定します。(コンシューマーキーとも呼ばれます。)このID は、カスタムアプリケーションをOAuth 認可サーバーに登録します。 |
| OAuthClientSecret | カスタムOAuth アプリケーションの作成時に割り当てられたクライアントシークレットを指定します。( コンシューマーシークレット とも呼ばれます。)このシークレットは、カスタムアプリケーションをOAuth 認可サーバーに登録します。 |
| OAuthGrantType | 選択したOAuth フローのグラント種別を指定します。 この値は、OAuth カスタムアプリケーション作成時に設定されたグラント種別と同じである必要があります。 |
| UserId | Specify this UserId in order to access Outlook resources for a specific user. Required when OAuthGrantType is set to 'CLIENT'. |
カスタムOAuth アプリケーションの作成時に割り当てられたクライアントId を指定します。(コンシューマーキーとも呼ばれます。)このID は、カスタムアプリケーションをOAuth 認可サーバーに登録します。
string
""
OAuthClientId は、ユーザーがOAuth 経由で認証を行う前に設定する必要があるいくつかの接続パラメータの1つです。詳細は接続の確立を参照してください。
カスタムOAuth アプリケーションの作成時に割り当てられたクライアントシークレットを指定します。( コンシューマーシークレット とも呼ばれます。)このシークレットは、カスタムアプリケーションをOAuth 認可サーバーに登録します。
string
""
OAuthClientSecret は、ユーザーがOAuth 経由で認証を行う前に設定する必要があるいくつかの接続パラメータの1つです。詳細は接続の確立を参照してください。
選択したOAuth フローのグラント種別を指定します。 この値は、OAuth カスタムアプリケーション作成時に設定されたグラント種別と同じである必要があります。
string
"CODE"
ほとんどの場合、デフォルトのグラント種別は変更すべきではありません。 最も一般的なOAuth グラント種別とそれぞれのメリット・デメリットについては、https://oauth.net/2/grant-types/ を参照してください。
Specify this UserId in order to access Outlook resources for a specific user. Required when OAuthGrantType is set to 'CLIENT'.
string
""
Specify this UserId in order to access Outlook resources for a specific user. Required when OAuthGrantType is set to 'CLIENT'.
このセクションでは、本プロバイダーの接続文字列で設定可能なJWT OAuth プロパティの全リストを提供します。
| プロパティ | 説明 |
| OAuthJWTCert | JWT 証明書のストア。 |
| OAuthJWTCertType | JWT 証明書を格納するキーストアの種類。 |
| OAuthJWTCertPassword | OAuth JWT 証明書のパスワード。パスワードを必要とする証明書ストアにアクセスするために使用されます。証明書ストアがパスワードを必要としない場合は、このプロパティを空白のままにします。 |
| OAuthJWTCertSubject | OAuth JWT 証明書のサブジェクトで、ストアで一致する証明書を検索するために使用されます。部分一致と、先頭の証明書を選択するためのワイルドカード '*' をサポートします。 |
JWT 証明書のストア。
string
""
クライアント証明書のための証明書ストア名。
OAuthJWTCertType フィールドは、OAuthJWTCert により指定された証明書ストアの種類を指定します。 ストアがパスワードで保護されている場合は、OAuthJWTCertPassword でパスワードを指定します。
OAuthJWTCert は、OAuthJWTCertSubject フィールドとともにクライアント証明書を指定するために使われます。 OAuthJWTCert に値がある場合で、OAuthJWTCertSubject が設定されている場合は、証明書の検索が始まります。 詳しくは、OAuthJWTCertSubject フィールドを参照してください。
証明書ストアの指定はプラットフォームに依存します。
Windows の共通のユーザとシステム証明書ストアの指定は以下のとおりです。
| MY | 個人証明書と関連付けられた秘密キーを格納している証明書ストア。 |
| CA | 証明機関の証明書。 |
| ROOT | ルート証明書。 |
| SPC | ソフトウェア発行元証明書。 |
Javaでは、証明書ストアは通常、証明書および任意の秘密キーを含むファイルです。
証明書ストアの種類がPFXFile の場合は、このプロパティにファイル名を設定します。 PFXBlob の場合は、このプロパティをPFX ファイルのバイナリコンテンツ(例えば、PKCS12証明書ストア)に設定する必要があります。
JWT 証明書を格納するキーストアの種類。
string
"PEMKEY_BLOB"
このプロパティには次の値の一つを設定できます。
| USER | Windows の場合、現在のユーザーにより所有された証明書ストアであることを指定します。 Note:この種類はJava では利用できません。 |
| MACHINE | Windows の場合、この証明書ストアがシステムストアであることを指定します。 Note:この種類はJava では利用できません。 |
| PFXFILE | この証明書ストアは、証明書を含むPFX(PKCS12)ファイルの名前です。 |
| PFXBLOB | この証明書ストアは、PFX(PKCS12)形式の証明書ストアを表すBase-64でエンコードされた文字列です。 |
| JKSFILE | この証明書ストアは、証明書を含むJava key store(JKS)ファイルの名前です。 Note:この種類はJava のみで利用できます。 |
| JKSBLOB | この証明書ストアは、Java key store(JKS)形式の証明書ストアを表すBase-64でエンコードされた文字列です。 Note:この種類はJava のみで利用できます。 |
| PEMKEY_FILE | この証明書ストアは、秘密キーと任意の証明書を含むPEM でエンコードされたファイルの名前です。 |
| PEMKEY_BLOB | この証明書ストアは、秘密キーと任意の証明書を含むBase-64でエンコードされた文字列です。 |
| PUBLIC_KEY_FILE | この証明書ストアは、PEM またはDER でエンコードされた公開キーの証明書を含むファイルの名前です。 |
| PUBLIC_KEY_BLOB | この証明書ストアは、PEM またはDER でエンコードされた公開キーの証明書を含むBase-64でエンコードされた文字列です。 |
| SSHPUBLIC_KEY_FILE | この証明書ストアは、SSH 公開キーを含むファイルの名前です。 |
| SSHPUBLIC_KEY_BLOB | この証明書ストアは、SSH 公開キーを含むBase-64でエンコードされた文字列です。 |
| P7BFILE | この証明書ストアは、証明書を含むPKCS7 ファイルの名前です。 |
| PPKFILE | この証明書ストアは、PuTTY 秘密キー(PPK)を含むファイルの名前です。 |
| XMLFILE | この証明書ストアは、XML 形式の証明書を含むファイルの名前です。 |
| XMLBLOB | この証明書ストアは、XML 形式の証明書を含む文字列の名前です。 |
| BCFKSFILE | この証明書ストアは、Bouncy Castle キーストアを含むファイルの名前です。 |
| BCFKSBLOB | この証明書ストアは、Bouncy Castle キーストアを含む文字列(Base-64エンコード)です。 |
OAuth JWT 証明書のパスワード。パスワードを必要とする証明書ストアにアクセスするために使用されます。証明書ストアがパスワードを必要としない場合は、このプロパティを空白のままにします。
string
""
このプロパティは、証明書ストアを開くために必要なパスワードを指定します。ただし、ストアの種類がパスワードを必要とする場合に限ります。 パスワードが必要かどうかを判断するには、ご利用の証明書ストアのドキュメントまたは設定を参照してください。
OAuth JWT 証明書のサブジェクトで、ストアで一致する証明書を検索するために使用されます。部分一致と、先頭の証明書を選択するためのワイルドカード '*' をサポートします。
string
"*"
このプロパティの値は、ストアで一致する証明書を検索するために使用されます。検索プロセスは以下のように動作します。
値を '*' に設定すると、ストアの先頭の証明書が自動的に選択されます。 証明書のサブジェクトは識別名フィールドおよび値のカンマ区切りのリストです。 例:CN=www.server.com, OU=test, C=US, [email protected]。一般的なフィールドには以下のものが含まれます。
| フィールド | 説明 |
| CN | 共通名。一般的には、www.server.com のようなホスト名です。 |
| O | 法人名 |
| OU | 法人の部署名 |
| L | 法人の住所(市町村名) |
| S | 法人の住所(都道府県) |
| C | 国名 |
| E | E メールアドレス |
フィールド値にカンマが含まれる場合は、引用符で囲んでください。例:"O=ACME, Inc."。
このセクションでは、本プロバイダーの接続文字列で設定可能なSSL プロパティの全リストを提供します。
| プロパティ | 説明 |
| SSLServerCert | TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。 |
TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。
string
""
TLS/SSL 接続を使用する場合は、このプロパティを使用して、サーバーが受け入れるTLS/SSL 証明書を指定できます。コンピュータによって信頼されていない他の証明書はすべて拒否されます。
このプロパティは、次のフォームを取ります:
| 説明 | 例 |
| フルPEM 証明書(例では省略されています) | -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE----- |
| 証明書を保有するローカルファイルへのパス。 | C:\cert.cer |
| 公開鍵(例では省略されています) | -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY----- |
| MD5 Thumbprint (hex 値はスペースおよびコロン区切り) | ecadbdda5a1529c58a1e9e09828d70e4 |
| SHA1 Thumbprint (hex 値はスペースおよびコロン区切り) | 34a929226ae0819f2ec14b4a3d904f801cbb150d |
これを指定しない場合は、マシンが信用するすべての証明書が受け入れられます。
すべての証明書の受け入れを示すには、'*'を使用します。セキュリティ上の理由から、これはお勧めできません。
このセクションでは、本プロバイダーの接続文字列で設定可能なLogging プロパティの全リストを提供します。
| プロパティ | 説明 |
| Verbosity | ログファイルのVerbosity レベルを指定し、記録される情報の詳細度を制御します。サポートされる値の範囲は1から5までです。 |
ログファイルのVerbosity レベルを指定し、記録される情報の詳細度を制御します。サポートされる値の範囲は1から5までです。
string
"1"
このプロパティは、Cloud がログファイルに含める詳細レベルを定義します。 Verbosity レベルを高くするとログに記録される情報の詳細が増えますが、ログファイルが大きくなり取り込まれるデータが増えるためパフォーマンスが低下する可能性があります。
デフォルトのVerbosity レベルは1で、通常の運用にはこれが推奨されます。 より高いVerbosity レベルは主にデバッグを目的としています。 各レベルの詳細については、ログ を参照してください。
LogModules プロパティと組み合わせることで、Verbosity は特定の情報カテゴリに対するログの詳細度を調整できます。
このセクションでは、本プロバイダーの接続文字列で設定可能なSchema プロパティの全リストを提供します。
| プロパティ | 説明 |
| BrowsableSchemas | レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。
string
""
利用可能なデータベーススキーマをすべてリストすると余分な時間がかかり、パフォーマンスが低下します。 接続文字列にスキーマのリストを指定することで、時間を節約しパフォーマンスを向上させることができます。
このセクションでは、本プロバイダーの接続文字列で設定可能なMiscellaneous プロパティの全リストを提供します。
| プロパティ | 説明 |
| AlwaysRequestTableDependencies | Control whether you want to always retrieve Table Dependencies (Foreign Keys). Setting this to TRUE might slow down queries and increase amount of calls made. |
| BodyType | The BodyType element identifies how the body text is formatted in the response. |
| CustomHeaders | 他のプロパティ(ContentType やFrom など)から作成されたリクエストヘッダーに追加する、追加HTTP ヘッダーを指定します。このプロパティは、特殊または非標準のAPI 用にリクエストをカスタマイズするために使用します。 |
| DirectoryRetrievalDepth | Depth level of folder to query Folders and Items. |
| DisableServerSideFiltering | Control whether you want to disable server-side filtering. By default this property is set to False, and server-side filtering is attempted for all columns/tables. |
| GroupId | Specify this GroupId in order to access the OneNote documents for this group. |
| ImpersonationType | Exchange サイトにリクエストを送信する際の偽装を使うための識別子のタイプ。 |
| ImpersonationUser | Exchange サイトにリクエストを送信する際の偽装ユーザー。 |
| IncludeContent | A boolean indicating if additional content should be retrieved. |
| MaxRows | 集計やGROUP BY を使用しないクエリで返される最大行数を指定します。 |
| Pagesize | Microsoft Exchange から返される、1ページあたりの結果の最大数を指定します。この設定は、ほとんどのユースケースに最適化されている、データソースによって設定されたデフォルトのページサイズをオーバーライドします。 |
| PseudoColumns | テーブルカラムとして公開する擬似カラムを指定します。'TableName=ColumnName;TableName=ColumnName' という形式を使用します。デフォルトは空の文字列で、このプロパティを無効にします。 |
| Timeout | provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。デフォルトは60秒です。タイムアウトを無効にするには0を設定します。 |
| UseInplaceArchive | A boolean indicating whether to use either the in-place archive or the default mailbox. |
Control whether you want to always retrieve Table Dependencies (Foreign Keys). Setting this to TRUE might slow down queries and increase amount of calls made.
bool
false
Control whether you want to always retrieve Table Dependencies (Foreign Keys). Setting this to TRUE might slow down queries and increase amount of calls made.
The BodyType element identifies how the body text is formatted in the response.
string
"Best"
The BodyType element identifies how the body text is formatted in the response. The available options are:
他のプロパティ(ContentType やFrom など)から作成されたリクエストヘッダーに追加する、追加HTTP ヘッダーを指定します。このプロパティは、特殊または非標準のAPI 用にリクエストをカスタマイズするために使用します。
string
""
このプロパティを使用して、Cloud から送信されるHTTP リクエストにカスタムヘッダーを追加します。
このプロパティは、追加ヘッダーや非標準ヘッダーを必要とするAPI とやり取りするためにリクエストを微調整する際に役立ちます。 ヘッダーはHTTP 仕様で記述されているとおり"header: value" の形式に従う必要があり、各ヘッダー行はキャリッジリターンとラインフィード(CRLF)文字で区切る必要があります。 重要:このプロパティを設定する際は注意してください。無効なヘッダーを指定するとHTTP リクエストが失敗する場合があります。
Depth level of folder to query Folders and Items.
string
"5"
This property must be set in the connection string or the driver uses a default of Depth=1.
Control whether you want to disable server-side filtering. By default this property is set to False, and server-side filtering is attempted for all columns/tables.
bool
false
To be used in cases when complex queries are attempted and server-side filters are incapable or insufficient for producing the desired output.
Specify this GroupId in order to access the OneNote documents for this group.
string
""
Specify this GroupId in order to access the OneNote documents for this group.
Exchange サイトにリクエストを送信する際の偽装を使うための識別子のタイプ。
string
"PrincipalName"
Exchange サイトにリクエストを送信する際の偽装を使うための識別子のタイプ。よりダイナミックにユーザー偽装を行うためには、SQL クエリにおいて同じ名前の疑似カラムを使用することができます。
ImpersonationType の有効な値は:
| PrincipalName | 偽装に使われるアカウントのUser Principal Name (UPN)を表します。ユーザーアカウントが存在するドメインのUPN です。 |
| SID | 偽装に使われるアカウントのSecurity Identifier(SID)からのSecurity Descriptor Definition Language (SDDL)を表します。 |
| PrimarySmtpAddress | Exchange 偽装に使われるアカウントのプライマリーSimple Mail Transfer Protocol (SMTP)アドレスを表します。プライマリーSMTP アドレスが提供されると、ユーザーのSID の取得のためには追加のActive Directory ディレクトリサービスルックアップが必要となります。 可能な場合にはSID もしくはUPN の使用を推奨します。 |
| SmtpAddress | Exchange 偽装に使われるアカウントのSimple Mail Transfer Protocol (SMTP)アドレスを表します。SMTP アドレスが提供されると、ユーザーのSID の取得のためには追加のActive Directory ルックアップが必要となります。 使用可能な場合にはSID もしくはUPN を使うことを推奨します。 |
Exchange サイトにリクエストを送信する際の偽装ユーザー。
string
""
Exchange サイトにリクエストを送信する際の偽装ユーザー。よりダイナミックにユーザー偽装を行うためには、SQL クエリにおいて同じ名前の疑似カラムを使用することができます。
A boolean indicating if additional content should be retrieved.
bool
false
A boolean indicating if additional content should be retrieved, such as the Body field of an Inbox email. Retrieving all content for a large number of items can be expensive. This property cannot be used with the Folders table, or the Calendar child views.
集計やGROUP BY を使用しないクエリで返される最大行数を指定します。
int
-1
このプロパティは、集計やGROUP BY 句を含まないクエリに対してCloud が返す行数の上限を設定します。 この制限により、クエリがデフォルトで過度に大きな結果セットを返さないようにします。
クエリにLIMIT 句が含まれている場合、クエリで指定された値がMaxRows 設定よりも優先されます。 MaxRows が"-1" に設定されている場合、LIMIT 句が明示的にクエリに含まれていない限り、行の制限は行われません。
このプロパティは、非常に大きなデータセットを返す可能性のあるクエリを実行する際に、パフォーマンスを最適化し過剰なリソース消費を防ぐのに役立ちます。
Microsoft Exchange から返される、1ページあたりの結果の最大数を指定します。この設定は、ほとんどのユースケースに最適化されている、データソースによって設定されたデフォルトのページサイズをオーバーライドします。
int
1000
クエリする特定のオブジェクトやサービスエンドポイントの結果を最適化するために、デフォルトのページサイズを調整したい場合があります。 ページサイズを大きくするとパフォーマンスが向上するかもしれませんが、ページあたりのメモリ消費量が増える可能性もあることに注意してください。
テーブルカラムとして公開する擬似カラムを指定します。'TableName=ColumnName;TableName=ColumnName' という形式を使用します。デフォルトは空の文字列で、このプロパティを無効にします。
string
""
このプロパティを使用すると、Cloud がテーブルカラムとして公開する擬似カラムを定義できます。
個々の擬似カラムを指定するには、以下の形式を使用します。"Table1=Column1;Table1=Column2;Table2=Column3"
すべてのテーブルのすべての擬似カラムを含めるには、次のようにします:"*=*"
provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。デフォルトは60秒です。タイムアウトを無効にするには0を設定します。
int
60
このプロパティは、Cloud が操作をキャンセルする前に操作の完了を待機する最大時間を秒単位で制御します。 操作の完了前にタイムアウト時間が経過すると、Cloud は操作をキャンセルして例外をスローします。
タイムアウトは、クエリや操作全体ではなくサーバーとの個々の通信に適用されます。 例えば、各ページング呼び出しがタイムアウト制限内に完了する場合、クエリは60秒を超えて実行を続けることができます。
このプロパティを0に設定するとタイムアウトが無効になり、操作が成功するか、サーバー側のタイムアウト、ネットワークの中断、またはサーバーのリソース制限などの他の条件で失敗するまで無期限に実行されます。 このプロパティは慎重に使用してください。長時間実行される操作がパフォーマンスを低下させたり、応答しなくなる可能性があるためです。
A boolean indicating whether to use either the in-place archive or the default mailbox.
bool
false
A boolean indicating whether to use either the in-place archive or the default mailbox.