다음을 통해 공유


CrmServiceClient.DeleteEntityAssociation 메서드

Removes the Association between 2 entity items where an M2M Relationship Exists.

네임스페이스: Microsoft.Xrm.Tooling.Connector
어셈블리: Microsoft.Xrm.Tooling.Connector(Microsoft.Xrm.Tooling.Connector.dll에 있음)

구문

‘선언
Public Function DeleteEntityAssociation ( _
    entityName1 As String, _
    entity1Id As Guid, _
    entityName2 As String, _
    entity2Id As Guid, _
    relationshipName As String, _
    <OptionalAttribute> Optional batchId As Guid = Nothing _
) As Boolean
public bool DeleteEntityAssociation (
    string entityName1,
    Guid entity1Id,
    string entityName2,
    Guid entity2Id,
    string relationshipName,
    [OptionalAttribute] Guid batchId
)

매개 변수

  • entityName1
    Entity on one side of the relationship
  • entity1Id
    The Id of the record on the first side of the relationship
  • entityName2
    Entity on the second side of the relationship
  • entity2Id
    The Id of the record on the second side of the relationship
  • relationshipName
    Relationship name between the 2 entities
  • batchId
    Optional: if set to a valid GUID, generated by the Create Batch Request Method, will assigned the request to the batch for later execution, on fail, runs the request immediately

반환 값

true on success, false on fail

스레드 보안

이 형식의 공용 정적(Visual Basic에서는 Shared) 구성원은 스레드로부터 안전합니다. 인스턴스 구성원은 스레드로부터 안전하지 않을 수 있습니다.

플랫폼

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket PC,스마트 폰,Windows Server 2003,Windows XP Professional,Windows Server 2008,Windows Server 2012,Windows 7,Windows 8,Windows 8.1

참고 항목

참조

CrmServiceClient 클래스
CrmServiceClient 구성원
Microsoft.Xrm.Tooling.Connector 네임스페이스

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