OrganizationServiceContext.DeleteObject Méthode (Entity, Boolean)
S'applique à: CRM 2015 on-prem, CRM Online
Changes the state of the specified entity to be deleted in the OrganizationServiceContext.
Espace de noms: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (dans Microsoft.Xrm.Sdk.dll)
Syntaxe
'Déclaration
Public Sub DeleteObject ( _
entity As Entity, _
recursive As Boolean _
)
public void DeleteObject (
Entity entity,
bool recursive
)
Paramètres
- entity
Type: Entity. The tracked entity to be changed to the deleted state.
- recursive
Type: Booléen. true to specify entities to be deleted recursively, otherwise false.
Remarques
All links to the specified entity are also marked deleted.
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.