다음을 통해 공유


QueryExpression.AddLink 메서드 (String, String, String, JoinOperator)

Adds the specified link to the query expression setting the entity name to link to, the attribute name to link from and the attribute name to link to.

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

구문

‘선언
Public Function AddLink ( _
    linkToEntityName As String, _
    linkFromAttributeName As String, _
    linkToAttributeName As String, _
    joinOperator As JoinOperator _
) As LinkEntity
public LinkEntity AddLink (
    string linkToEntityName,
    string linkFromAttributeName,
    string linkToAttributeName,
    JoinOperator joinOperator
)

매개 변수

  • linkToEntityName
    Type: 문자열. The name of entity to link from.
  • linkFromAttributeName
    Type: 문자열. The name of the attribute to link from.
  • linkToAttributeName
    Type: 문자열. The name of the attribute to link to.

반환 값

Type: LinkEntity
The link entity instance created and added to the query expression.

스레드 보안

이 형식의 공용 정적(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 Server 2008,Windows Server 2012,Windows 7

참고 항목

참조

QueryExpression 클래스
QueryExpression 구성원
Microsoft.Xrm.Sdk.Query 네임스페이스

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