ColumnSet 類別
Specifies the attributes for which non-null values are returned from a query.
命名空間: Microsoft.Xrm.Sdk.Query
組件: Microsoft.Xrm.Sdk (在 Microsoft.Xrm.Sdk.dll 中)
語法
'宣告
<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
備註
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.
繼承階層
System.Object
Microsoft.Xrm.Sdk.Query.ColumnSet
執行緒安全
此類型的任何公用靜態 (Visual Basic 中的 Shared) 成員都具備執行緒安全。任何執行個體成員都不保證具備執行緒安全。
平台
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
請參閱
參照
ColumnSet 成員
Microsoft.Xrm.Sdk.Query 命名空間
ConvertQuoteToSalesOrderRequest 類別
ConvertSalesOrderToInvoiceRequest 類別
GenerateInvoiceFromOpportunityRequest 類別
GenerateQuoteFromOpportunityRequest 類別
GenerateSalesOrderFromOpportunityRequest 類別
IOrganizationService.Retrieve 方法
QueryByAttribute
QueryExpression
RetrieveAllChildUsersSystemUserRequest 類別
RetrieveBusinessHierarchyBusinessUnitRequest 類別
RetrieveMembersTeamRequest 類別
RetrieveRequest 類別
RetrieveSubsidiaryTeamsBusinessUnitRequest 類別
RetrieveSubsidiaryUsersBusinessUnitRequest 類別
RetrieveTeamsSystemUserRequest 類別
RetrieveUnpublishedRequest 類別
RetrieveUserSettingsSystemUserRequest 類別
ReviseQuoteRequest 類別
SearchByBodyKbArticleRequest 類別
其他資源
Using the ColumnSet Class
Using the QueryByAttribute Class
Using the QueryExpression Class
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.