OrganizationServiceContext.SaveChanges Metodo ()

Si applica a: CRM 2015 on-prem, CRM Online

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

Spazio dei nomi: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Sintassi

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

Valore restituito

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

Thread Safety

Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. Non è garantito che i membri di istanza siano thread-safe.

Piattaforme

Piattaforme di sviluppo

Windows Vista, Windows Server 2003 e

Piattaforme di destinazione

Windows Vista,Windows XP

Vedere anche

Riferimento

Classe OrganizationServiceContext
Membri OrganizationServiceContext
Spazio dei nomi Microsoft.Xrm.Sdk.Client

Altre risorse

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.