OrganizationServiceContext.SaveChanges Method (SaveChangesOptions)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Saves the changes that the OrganizationServiceContext is tracking to Microsoft Dynamics 365.
Namespace: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
public SaveChangesResultCollection SaveChanges(
SaveChangesOptions options
)
Public Function SaveChanges (
options As SaveChangesOptions
) As SaveChangesResultCollection
Parameters
options
Type: Microsoft.Xrm.Sdk.Client.SaveChangesOptionsType: SaveChangesOptions. Indicates how changes are saved.
Return Value
Type: Microsoft.Xrm.Sdk.SaveChangesResultCollection
Type: SaveChangesResultCollection
A SaveChangesResultCollection that contains status, headers, and errors that result from the call to SaveChanges.
See Also
SaveChanges Overload
OrganizationServiceContext Class
Microsoft.Xrm.Sdk.Client Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright