| title | DatabaseID Element (XMLA) | Microsoft Docs | |||
|---|---|---|---|---|
| ms.custom | ||||
| ms.date | 03/06/2017 | |||
| ms.prod | sql-server-2016 | |||
| ms.reviewer | ||||
| ms.suite | ||||
| ms.technology |
|
|||
| ms.tgt_pltfrm | ||||
| ms.topic | reference | |||
| apiname |
|
|||
| apilocation | ||||
| apitype | Schema | |||
| applies_to |
|
|||
| f1_keywords |
|
|||
| helpviewer_keywords |
|
|||
| ms.assetid | 2df720dd-9b42-449a-9df6-0d12930603f0 | |||
| caps.latest.revision | 13 | |||
| author | jeannt | |||
| ms.author | jeannt | |||
| manager | erikre |
Identifies a database within a parent element that contains an object reference.
<Object> <!-- or one of the elements listed below in the Element Relationships table -->
...
<DatabaseID>...</DatabaseID>
...
</Object> | Characteristic | Description |
|---|---|
| Data type and length | String |
| Default value | None |
| Cardinality | See the table below. |
| Ancestor or Parent | Cardinality |
|---|---|
| Source, Target | 1-1: Required element that occurs once and only once. |
| All others | 0-1: Optional element that can occur once and only once. |
| Relationship | Element |
|---|---|
| Parent elements | Object, ParentObject, Source, Target |
| Child elements | None |