Partilhar via


Método OrganizationServiceContext.SaveChanges ()

Aplica-se a: CRM 2015 on-prem, CRM Online

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

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

Sintaxe

'Declaração
<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.

Segurança do Thread

Todos os membros estáticos (Shared in Visual Basic) desse tipo são protegidos por thread. Não há nenhum garantia de que os membros de instância sejam protegidos por thread.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows Server 2003 e

Plataformas de destino

Windows Vista,Windows XP

Consulte também

Referência

Classe OrganizationServiceContext
Membros de OrganizationServiceContext
Namespace Microsoft.Xrm.Sdk.Client

Outros 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.