--- title: "Command Element (ASSL) | Microsoft Docs" ms.custom: "" ms.date: "03/03/2017" ms.prod: "sql-server-2016" ms.reviewer: "" ms.suite: "" ms.technology: - "analysis-services" - "docset-sql-devref" ms.tgt_pltfrm: "" ms.topic: "reference" apiname: - "Command Element" apilocation: - "http://schemas.microsoft.com/analysisservices/2003/engine" apitype: "Schema" applies_to: - "SQL Server 2016 Preview" f1_keywords: - "Command" helpviewer_keywords: - "Command element" ms.assetid: 277598b5-9939-4d7f-8c75-06470c3fabdd caps.latest.revision: 36 author: "Minewiskan" ms.author: "owend" manager: "erikre" --- # Command Element (ASSL) Defines a command that is available for use within the context of the parent element of the [Commands](../../../analysis-services/scripting/collections/commands-element-assl.md) collection. ## Syntax ```xml ... ``` ## Element Characteristics |Characteristic|Description| |--------------------|-----------------| |Data type and length|None| |Default value|None| |Cardinality|0-n: Optional element that can occur more than once.| ## Element Relationships |Relationship|Element| |------------------|-------------| |Parent elements|[Commands](../../../analysis-services/scripting/collections/commands-element-assl.md)| |Child elements|[Text](../../../analysis-services/scripting/properties/text-element-assl.md)| ## Remarks The corresponding element in the Analysis Management Objects (AMO) object model is . ## See Also [Objects (ASSL)](../../../analysis-services/scripting/objects/objects-assl.md)