다음을 통해 공유


LinkEntity.AddLink 메서드 (String, String, String)

Adds a link, setting the link to entity name, the link from attribute name and the link to attribute name.

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

구문

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

매개 변수

  • linkToEntityName
    Type: 문자열. The name of the entity to link to.
  • 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 that was created.

스레드 보안

이 형식의 공용 정적(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

참고 항목

참조

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

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