Método QueryExpression.AddLink (String, String, String, JoinOperator)
Aplica-se a: CRM 2015 on-prem, CRM Online
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.
Namespace: Microsoft.Xrm.Sdk.Query
Assembly: Microsoft.Xrm.Sdk (em Microsoft.Xrm.Sdk.dll)
Sintaxe
'Declaração
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
)
Parâmetros
- linkToEntityName
Type: Cadeia de caracteres. The name of entity to link from.
- linkFromAttributeName
Type: Cadeia de caracteres. The name of the attribute to link from.
- linkToAttributeName
Type: Cadeia de caracteres. The name of the attribute to link to.
- joinOperator
Type: JoinOperator. The join operator.
Valor de Retorno
Type: LinkEntity
The link entity instance created and added to the query expression.
Segurança do Thread
Todos os membros estáticos (Shared in Visual Basic) desse tipo são protegidos por thread. Não há nenhum garantia de que os membros de instância sejam protegidos por thread.
Plataformas
Plataformas de desenvolvimento
Windows Vista, Windows Server 2003 e
Plataformas de destino
Windows Vista,Windows XP
Consulte também
Referência
Classe QueryExpression
Membros de QueryExpression
Namespace Microsoft.Xrm.Sdk.Query
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.