Delen via


ColumnSet-klasse

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

Naamruimte: Microsoft.Xrm.Sdk.Query
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntaxis

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

Opmerkingen

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.

Overnamehiërarchie

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

Thread-veiligheid

Alle openbare statische (Shared in Visual Basic) leden van dit type zijn thread-veilig. Exemplaarleden zijn niet gegarandeerd thread-veilig.

Platforms

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

Zie ook

Verwijzing

ColumnSet-leden
Microsoft.Xrm.Sdk.Query-naamruimte
ConvertQuoteToSalesOrderRequest-klasse
ConvertSalesOrderToInvoiceRequest-klasse
GenerateInvoiceFromOpportunityRequest-klasse
GenerateQuoteFromOpportunityRequest-klasse
GenerateSalesOrderFromOpportunityRequest-klasse
IOrganizationService.Retrieve-methode
QueryByAttribute
QueryExpression
RetrieveAllChildUsersSystemUserRequest-klasse
RetrieveBusinessHierarchyBusinessUnitRequest-klasse
RetrieveMembersTeamRequest-klasse
RetrieveRequest-klasse
RetrieveSubsidiaryTeamsBusinessUnitRequest-klasse
RetrieveSubsidiaryUsersBusinessUnitRequest-klasse
RetrieveTeamsSystemUserRequest-klasse
RetrieveUnpublishedRequest-klasse
RetrieveUserSettingsSystemUserRequest-klasse
ReviseQuoteRequest-klasse
SearchByBodyKbArticleRequest-klasse

Overige resources

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

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