Delen via


OrganizationServiceContext.DeleteObject-methode (Entity)

Van toepassing op: CRM 2015 on-prem, CRM Online

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

Naamruimte: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntaxis

'Declaratie
Public Sub DeleteObject ( _
    entity As Entity _
)
public void DeleteObject (
    Entity entity
)

Parameters

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

Opmerkingen

All links to the specified entity are also marked deleted.

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.