--- title: "StopTime 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: - "StopTime Element" apilocation: - "http://schemas.microsoft.com/analysisservices/2003/engine" apitype: "Schema" applies_to: - "SQL Server 2016 Preview" f1_keywords: - "StopTime" helpviewer_keywords: - "StopTime element" ms.assetid: 6f863d53-033b-46e0-9837-e891e739b4b0 caps.latest.revision: 33 author: "Minewiskan" ms.author: "owend" manager: "erikre" --- # StopTime Element (ASSL) Specifies the date and time at which a [Trace](../../../analysis-services/scripting/objects/trace-element-assl.md) element should stop. ## Syntax ```xml ... ... ... ``` ## Element Characteristics |Characteristic|Description| |--------------------|-----------------| |Data type and length|DateTime| |Default value|None| |Cardinality|0-1: Optional element that can occur once and only once.| ## Element Relationships |Relationship|Element| |------------------|-------------| |Parent element|[Trace](../../../analysis-services/scripting/objects/trace-element-assl.md)| |Child elements|None| The element that corresponds to the parent of **StopTime** in the Analysis Management Objects (AMO) object model is . ## See Also [Traces Element (ASSL)](../../../analysis-services/scripting/collections/traces-element-assl.md) [Properties (ASSL)](../../../analysis-services/scripting/properties/properties-assl.md)