Share via


OrganizationServiceContext.SaveChanges メソッド ()

適用対象: CRM 2015 on-prem, CRM Online

Saves the changes that the OrganizationServiceContext is tracking to Microsoft Dynamics CRM.

名前空間: Microsoft.Xrm.Sdk.Client
アセンブリ: Microsoft.Xrm.Sdk (Microsoft.Xrm.Sdk.dll に含まれる)

構文

'宣言
<SuppressMessageAttribute("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Justification:="Choosing performance over flexibility. Also changing result collection does not need to be tracked.")> _
Public Function SaveChanges As SaveChangesResultCollection
[SuppressMessageAttribute("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Justification="Choosing performance over flexibility. Also changing result collection does not need to be tracked.")] 
public SaveChangesResultCollection SaveChanges ()

戻り値

Type: SaveChangesResultCollection
A SaveChangesResultCollection that contains status, headers, and errors that result from the call to SaveChanges.

スレッド セーフ

この種類のパブリックな静的 (Visual Basic では Shared) メンバーはスレッド セーフです。インスタンス メンバーがスレッド セーフであることは保証されません。

プラットフォーム

開発プラットフォーム

Windows Vista、Windows Server 2003、および

対象プラットフォーム

Windows Vista、Windows XP

関連項目

参照

OrganizationServiceContext クラス
OrganizationServiceContext のメンバー
Microsoft.Xrm.Sdk.Client 名前空間

他のリソース

Use the Organization Service Context Class
Use the Early Bound Entity Classes for Create, Update, and Delete
Sample: Use the Organization Service Context

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.