Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

OrganizationServiceContext.SaveChanges Method

Definition

Namespace:
Microsoft.Xrm.Sdk.Client
Assembly:
Microsoft.Xrm.Sdk.dll
Package:
Microsoft.PowerPlatform.Dataverse.Client v1.2.10

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Overloads

Name Description
SaveChanges()

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

SaveChanges(SaveChangesOptions)

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

SaveChanges()

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

public:
 Microsoft::Xrm::Sdk::SaveChangesResultCollection ^ SaveChanges();
public Microsoft.Xrm.Sdk.SaveChangesResultCollection SaveChanges();
member this.SaveChanges : unit -> Microsoft.Xrm.Sdk.SaveChangesResultCollection
Public Function SaveChanges () As SaveChangesResultCollection

Returns

Contains status, headers, and errors that result from the call to SaveChanges().

Applies to

SaveChanges(SaveChangesOptions)

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

public:
 Microsoft::Xrm::Sdk::SaveChangesResultCollection ^ SaveChanges(Microsoft::Xrm::Sdk::Client::SaveChangesOptions options);
public Microsoft.Xrm.Sdk.SaveChangesResultCollection SaveChanges(Microsoft.Xrm.Sdk.Client.SaveChangesOptions options);
member this.SaveChanges : Microsoft.Xrm.Sdk.Client.SaveChangesOptions -> Microsoft.Xrm.Sdk.SaveChangesResultCollection
Public Function SaveChanges (options As SaveChangesOptions) As SaveChangesResultCollection

Parameters

options
SaveChangesOptions

Indicates how changes are saved.

Returns

Contains status, headers, and errors that result from the call to SaveChanges().

Applies to