Méthode CrmServiceClient.DeleteEntity

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

Deletes an entity from the CRM

Espace de noms: Microsoft.Xrm.Tooling.Connector
Assembly: Microsoft.Xrm.Tooling.Connector (dans Microsoft.Xrm.Tooling.Connector.dll)

Syntaxe

'Déclaration
Public Function DeleteEntity ( _
    entityType As String, _
    entityId As Guid, _
    <OptionalAttribute> Optional batchId As Guid = Nothing _
) As Boolean
public bool DeleteEntity (
    string entityType,
    Guid entityId,
    [OptionalAttribute] Guid batchId
)

Paramètres

  • entityType
    entity type name
  • entityId
    entity id
  • batchId
    Optional : Batch ID to attach this request too.

Valeur renvoyée

true on success, false on failure

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 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Deuxième Édition,Pocket PC,Smart Phone,Windows Server 2003,Windows XP Professionnel,Windows Vista,Windows XP

Voir aussi

Référence

Classe CrmServiceClient
Membres CrmServiceClient
Espace de noms Microsoft.Xrm.Tooling.Connector

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