ColumnSet.AllColumns Property
Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online
Gets or sets whether to retrieve all the attributes of a record.
Namespace: Microsoft.Xrm.Sdk.Query
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
'Declaration
<DataMemberAttribute> _
Public Property AllColumns As Boolean
[DataMemberAttribute]
public bool AllColumns { get; set; }
Property Value
Type: Boolean
true to specify to retrieve all attributes; false to to retrieve only specified attributes.
Remarks
Important
You should avoid retrieving all columns in a query result because of the impact on a subsequent update of records. In an update, this will set all field values, even if they are unchanged, and often triggers cascaded updates to child records.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)
Target Platforms
Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),
Change History
See Also
Reference
ColumnSet Class
ColumnSet Members
Microsoft.Xrm.Sdk.Query Namespace
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.