RetrieveRequest.ColumnSet Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the collection of columns for which non-null values are returned from a query. Required.
public:
property Microsoft::Xrm::Sdk::Query::ColumnSet ^ ColumnSet { Microsoft::Xrm::Sdk::Query::ColumnSet ^ get(); void set(Microsoft::Xrm::Sdk::Query::ColumnSet ^ value); };
public Microsoft.Xrm.Sdk.Query.ColumnSet ColumnSet { get; set; }
member this.ColumnSet : Microsoft.Xrm.Sdk.Query.ColumnSet with get, set
Public Property ColumnSet As ColumnSet
Property Value
The collection of columns for which non-null values are returned from a query. Required.
Remarks
Assign null to this property to retrieve only the primary key column value. The query returns non-null values for the specified columns in the column set. The columns that are not included in the column set contain null values. If the column set includes columns where IsValidForRead is false, they are ignored and the message response contains no data for those columns. You can find this information in the table definitions for your organization. Learn to view detailed table definition data in your environment.