Compartilhar via


Classe ColumnSet

Aplica-se a: CRM 2015 on-prem, CRM Online

Specifies the attributes for which non-null values are returned from a query.

Namespace: Microsoft.Xrm.Sdk.Query
Assembly: Microsoft.Xrm.Sdk (em Microsoft.Xrm.Sdk.dll)

Sintaxe

'Declaração
<DataContractAttribute(Name:="ColumnSet", Namespace:="https://schemas.microsoft.com/xrm/2011/Contracts")> _
Public NotInheritable Class ColumnSet
    Implements IExtensibleDataObject
[DataContractAttribute(Name="ColumnSet", Namespace="https://schemas.microsoft.com/xrm/2011/Contracts")] 
public sealed class ColumnSet : IExtensibleDataObject

Comentários

The ColumnSet class is used with methods and messages that retrieve one or more records from the database. The query returns non-null values for the attributes that are contained in the Columns property. The attributes not included in the ColumnSet will contain null values. If the column set includes attributes that are not valid for retrieve, they will be ignored and no values will be returned for those attributes.

The primary key is always returned and contains a non-null value.

Attributes are specified by name. For more information, see SchemaName.

Hierarquia de Herança

System.Object
  Microsoft.Xrm.Sdk.Query.ColumnSet

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

Membros de ColumnSet
Namespace Microsoft.Xrm.Sdk.Query
Classe ConvertQuoteToSalesOrderRequest
Classe ConvertSalesOrderToInvoiceRequest
Classe GenerateInvoiceFromOpportunityRequest
Classe GenerateQuoteFromOpportunityRequest
Classe GenerateSalesOrderFromOpportunityRequest
Método IOrganizationService.Retrieve
QueryByAttribute
QueryExpression
Classe RetrieveAllChildUsersSystemUserRequest
Classe RetrieveBusinessHierarchyBusinessUnitRequest
Classe RetrieveMembersTeamRequest
Classe RetrieveRequest
Classe RetrieveSubsidiaryTeamsBusinessUnitRequest
Classe RetrieveSubsidiaryUsersBusinessUnitRequest
Classe RetrieveTeamsSystemUserRequest
Classe RetrieveUnpublishedRequest
Classe RetrieveUserSettingsSystemUserRequest
Classe ReviseQuoteRequest
Classe SearchByBodyKbArticleRequest

Outros recursos

Using the ColumnSet Class
Using the QueryByAttribute Class
Using the QueryExpression Class

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