Compartilhar via


Método OrganizationServiceContext.DeleteObject (Entity)

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

Changes the state of the specified entity to be deleted in the OrganizationServiceContext.

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

Sintaxe

'Declaração
Public Sub DeleteObject ( _
    entity As Entity _
)
public void DeleteObject (
    Entity entity
)

Parâmetros

  • entity
    Type: Entity. The tracked entity to be changed to the deleted state.

Comentários

All links to the specified entity are also marked deleted.

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

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