Classe ColumnSet

Si applica a: CRM 2015 on-prem, CRM Online

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

Spazio dei nomi: Microsoft.Xrm.Sdk.Query
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Sintassi

'Dichiarazione
<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

Note

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.

Gerarchia ereditarietà

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

Thread Safety

Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. Non è garantito che i membri di istanza siano thread-safe.

Piattaforme

Piattaforme di sviluppo

Windows Vista, Windows Server 2003 e

Piattaforme di destinazione

Windows Vista,Windows XP

Vedere anche

Riferimento

Membri ColumnSet
Spazio dei nomi Microsoft.Xrm.Sdk.Query
Classe ConvertQuoteToSalesOrderRequest
Classe ConvertSalesOrderToInvoiceRequest
Classe GenerateInvoiceFromOpportunityRequest
Classe GenerateQuoteFromOpportunityRequest
Classe GenerateSalesOrderFromOpportunityRequest
Metodo 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

Altre risorse

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.