Auf Englisch lesen

Freigeben über


OrganizationServiceContext.SaveChanges Methode ()

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

Namespace: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

'Declaration
<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 ()

Rückgabewert

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

Thread-Sicherheit

Alle öffentlichen statischen Mitglieder (Shared in Visual Basic) dieses Typs sind thread-sicher. Bei Instanzmitgliedern kann keine Garantie für die Thread-Sicherheit übernommen werden.

Plattformen

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Siehe auch

Referenz

OrganizationServiceContext Klasse
OrganizationServiceContext Mitglieder
Microsoft.Xrm.Sdk.Client Namespace

Weitere Ressourcen

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.
© 2015 Microsoft. All rights reserved.