Classe ColumnSet
S'applique à: CRM 2015 on-prem, CRM Online
Specifies the attributes for which non-null values are returned from a query.
Espace de noms: Microsoft.Xrm.Sdk.Query
Assembly: Microsoft.Xrm.Sdk (dans Microsoft.Xrm.Sdk.dll)
Syntaxe
'Déclaration
<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
Remarques
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.
Hiérarchie d'héritage
System.Object
Microsoft.Xrm.Sdk.Query.ColumnSet
Cohérence de thread
Tous les membres statiques publics (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres d'instance ne sont pas garantis thread-safe.
Plateformes
Plateformes de développement
Windows Vista, Windows Server 2003 et
Plateformes cibles
Windows Vista,Windows XP
Voir aussi
Référence
Membres ColumnSet
Espace de noms Microsoft.Xrm.Sdk.Query
Classe ConvertQuoteToSalesOrderRequest
Classe ConvertSalesOrderToInvoiceRequest
Classe GenerateInvoiceFromOpportunityRequest
Classe GenerateQuoteFromOpportunityRequest
Classe GenerateSalesOrderFromOpportunityRequest
Méthode 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
Autres ressources
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.