| title |
OrderBy Element (ASSL) | Microsoft Docs |
| ms.custom |
|
| ms.date |
03/06/2017 |
| ms.prod |
sql-server-2016 |
| ms.reviewer |
|
| ms.suite |
|
| ms.technology |
analysis-services |
docset-sql-devref |
|
| ms.tgt_pltfrm |
|
| ms.topic |
reference |
| apiname |
|
| apilocation |
|
| apitype |
Schema |
| applies_to |
|
| f1_keywords |
|
| helpviewer_keywords |
|
| ms.assetid |
d7a0564b-430e-44eb-913a-fe1f98917d0f |
| caps.latest.revision |
31 |
| author |
Minewiskan |
| ms.author |
owend |
| manager |
erikre |
Describes how to order the members contained in the attribute.
<DimensionAttribute>
...
<OrderBy>...</OrderBy>
...
</DimensionAttribute>
| Characteristic |
Description |
| Data type and length |
String (enumeration) |
| Default value |
Name |
| Cardinality |
0-1: Optional element that can occur once and only once. |
Remarks
The value of this element is limited to one of the strings listed in the following table.
| Value |
Description |
| Name |
Order by the member name. |
| Key |
Order by the member key. |
| AttributeKey |
Order by the member key of the attribute specified in the OrderByAttributeID element of DimensionAttribute. |
| AttributeName |
Order by the member name of the attribute specified in the OrderByAttributeID element of DimensionAttribute. |
The enumeration that corresponds to the allowed values for OrderBy in the Analysis Management Objects (AMO) object model is xref:Microsoft.AnalysisServices.OrderBy.
Properties (ASSL)