Partilhar via


RetrieveBusinessHierarchyBusinessUnitRequest.ColumnSet Property

Definition

Gets or sets the set of attributes to retrieve. 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 set of attributes to retrieve.

Remarks

Assign null to this property to retrieve only the primary key. The non-null values are returned 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 AttributeMetadata.IsValidForRead is false, they are ignored. You can find this information in the table definitions for your organization. You can use a table definition browser like the one described in Browse table definitions in your environment.

Applies to