OrganizationServiceContext.SaveChanges Méthode (SaveChangesOptions)

S'applique à: CRM 2015 on-prem, CRM Online

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

Espace de noms: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (dans Microsoft.Xrm.Sdk.dll)

Syntaxe

'Déclaration
<SuppressMessageAttribute("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Justification:="Choosing performance over flexibility. Also changing result collection does not need to be tracked.")> _
Public Function SaveChanges ( _
    options As SaveChangesOptions _
) 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 (
    SaveChangesOptions options
)

Paramètres

Valeur renvoyée

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

Cohérence de thread

Tous les membres statiques publics (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres d'instance ne sont pas garantis thread-safe.

Plateformes

Plateformes de développement

Windows Vista, Windows Server 2003 et

Plateformes cibles

Windows Vista,Windows XP

Voir aussi

Référence

Classe OrganizationServiceContext
Membres OrganizationServiceContext
Espace de noms Microsoft.Xrm.Sdk.Client

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