OrganizationServiceContext.SaveChanges-methode (SaveChangesOptions)
Van toepassing op: CRM 2015 on-prem, CRM Online
Saves the changes that the OrganizationServiceContext is tracking to Microsoft Dynamics CRM.
Naamruimte: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntaxis
'Declaratie
<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
)
Parameters
- options
Type: SaveChangesOptions. Indicates how changes are saved.
Retourwaarde
Type: SaveChangesResultCollection
A SaveChangesResultCollection that contains status, headers, and errors that result from the call to SaveChanges.
Thread-veiligheid
Alle openbare statische (Shared in Visual Basic) leden van dit type zijn thread-veilig. Exemplaarleden zijn niet gegarandeerd thread-veilig.
Platforms
Ontwikkelplatforms
Windows Vista, Windows Server 2003, en
Doelplatforms
Windows Vista,Windows XP
Zie ook
Verwijzing
OrganizationServiceContext-klasse
OrganizationServiceContext-leden
Microsoft.Xrm.Sdk.Client-naamruimte
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.