OrganizationServiceContext.SaveChangesMétodo()
Se aplica a: CRM 2015 on-prem, CRM Online
Saves the changes that the OrganizationServiceContext is tracking to Microsoft Dynamics CRM.
Espacio de nombres: Microsoft.Xrm.Sdk.Client
Ensamblado: Microsoft.Xrm.Sdk (en Microsoft.Xrm.Sdk.dll)
Sintaxis
'Declaración
<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 ()
Valor de retorno
Type: SaveChangesResultCollection
A SaveChangesResultCollection that contains status, headers, and errors that result from the call to SaveChanges.
Seguridad de hilo
Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para el hilo. No se garantiza que los miembros de instancia sean seguros para el hilo.
Plataformas
Plataformas de desarrollo
Windows Vista, Windows Server 2003 y
Plataformas de destino
Windows Vista,Windows XP
Vea también
Referencia
Clase de OrganizationServiceContext
Miembros de OrganizationServiceContext
Espacio de nombres de Microsoft.Xrm.Sdk.Client
Otros recursos
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.