ColumnSet 类
应用到: CRM 2015 on-prem, CRM Online
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)成员都是线程安全成员。不保证任何实例成员是线程安全成员。
平台
开发平台
Windows Vista、Windows Server 2003 和
目标平台
Windows Vista,Windows XP
另请参阅
参考
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.
© 2014 Microsoft Corporation. All rights reserved.