--- title: "MasterDatasourceID Element (ASSL) | Microsoft Docs" ms.custom: "" ms.date: "03/14/2017" ms.prod: "sql-server-2016" ms.reviewer: "" ms.suite: "" ms.technology: - "analysis-services" - "docset-sql-devref" ms.tgt_pltfrm: "" ms.topic: "reference" apiname: - "MasterDatasourceID Element" apilocation: - "http://schemas.microsoft.com/analysisservices/2003/engine" apitype: "Schema" applies_to: - "SQL Server 2016 Preview" f1_keywords: - "MasterDatasourceID" helpviewer_keywords: - "MasterDatasourceID element" ms.assetid: a9cbd3a9-581f-4a08-93d8-e1eea8757ce9 caps.latest.revision: 34 author: "Minewiskan" ms.author: "owend" manager: "erikre" --- # MasterDatasourceID Element (ASSL) Contains the master data source identifier (ID) for a [Database](../../../analysis-services/scripting/objects/database-element-assl.md) element. ## Syntax ```xml ... ... ... ``` ## Element Characteristics |Characteristic|Description| |--------------------|-----------------| |Data type and length|String| |Default value|None| |Cardinality|0-1: Optional element that can occur once and only once.| ## Element Relationships |Relationship|Element| |------------------|-------------| |Parent elements|[Database](../../../analysis-services/scripting/objects/database-element-assl.md)| |Child elements|None| ## Remarks For databases on remote instances of [!INCLUDE[msCoName](../../../includes/msconame-md.md)] [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] [!INCLUDE[ssASnoversion](../../../includes/ssasnoversion-md.md)] that contain remote partitions, the **MasterDatasourceID** element contains the data source ID of the data source used to identify the master instance of [!INCLUDE[ssASnoversion](../../../includes/ssasnoversion-md.md)] that manages the remote partitions. The element that corresponds to the parent of **MasterDatasourceID** in the Analysis Management Objects (AMO) object model is . ## See Also [Properties (ASSL)](../../../analysis-services/scripting/properties/properties-assl.md)