ExchangeService.MarkAsJunk メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
メールボックスアイテムを迷惑メールとしてマークします。 このMarkAsJunk(IEnumerable<ItemId>, Boolean, Boolean)方法は、Exchange Onlineおよび 2013 以降のバージョンの Exchange を対象とするクライアントExchange Server適用できます。
public:
Microsoft::Exchange::WebServices::Data::ServiceResponseCollection<Microsoft::Exchange::WebServices::Data::MarkAsJunkResponse ^> ^ MarkAsJunk(System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::ItemId ^> ^ itemIds, bool isJunk, bool moveItem);
public Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<Microsoft.Exchange.WebServices.Data.MarkAsJunkResponse> MarkAsJunk (System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.ItemId> itemIds, bool isJunk, bool moveItem);
Public Function MarkAsJunk (itemIds As IEnumerable(Of ItemId), isJunk As Boolean, moveItem As Boolean) As ServiceResponseCollection(Of MarkAsJunkResponse)
パラメーター
- itemIds
- IEnumerable<ItemId>
マークするメールボックスアイテムの ID。
- isJunk
- Boolean
アイテム が迷惑メールの場合は true (その場合、送信者はブロックされた送信者の一覧に追加されます)。それ以外の場合は false (この場合、送信者はブロックされた送信者の一覧に追加されません)。
- moveItem
- Boolean
アイテム を迷惑メール フォルダーに移動する場合は true。それ以外の場合は false。
戻り値
移動された各項目の項目 ID のコレクション。