Método OrganizationServiceProxy.Disassociate
Se aplica a: CRM 2015 on-prem, CRM Online
Deletes a link between records.
Espacio de nombres: Microsoft.Xrm.Sdk.Client
Ensamblado: Microsoft.Xrm.Sdk (en Microsoft.Xrm.Sdk.dll)
Sintaxis
'Declaración
Public Sub Disassociate ( _
entityName As String, _
entityId As Guid, _
relationship As Relationship, _
relatedEntities As EntityReferenceCollection _
)
public void Disassociate (
string entityName,
Guid entityId,
Relationship relationship,
EntityReferenceCollection relatedEntities
)
Parámetros
- entityName
Type: Cadena. The logical name of the entity specified in the entityId parameter.
- entityId
Type: Guid. The ID of the record from which the related records will be disassociated.
- relationship
Type: Relationship. The name of the relationship to be used to remove the link.
- relatedEntities
Type: EntityReferenceCollection. A collection of entity references (references to records) to be disassociated.
Comentarios
The core implementation of the Disassociate method. For more information, see IOrganizationService.Disassociate.
Para obtener más información, vea the exceptions that can be thrown when calling OrganizationServiceProxy methods, see Handle Exceptions in Your Code.
Seguridad de hilo
Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para el hilo. No se garantiza que los miembros de instancia sean seguros para el hilo.
Plataformas
Plataformas de desarrollo
Windows Vista, Windows Server 2003 y
Plataformas de destino
Windows Vista,Windows XP
Vea también
Referencia
Clase de OrganizationServiceProxy
Miembros de OrganizationServiceProxy
Espacio de nombres de Microsoft.Xrm.Sdk.Client
Otros recursos
Troubleshooting and Error Handling
Read and Write Data and Metadata using the IOrganizationService Web Service
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.