| title | Warning Element (XMLA) | Microsoft Docs | |||
|---|---|---|---|---|
| ms.custom | ||||
| ms.date | 03/14/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 | a34a6caa-4b68-486b-8f50-cdc124c65888 | |||
| caps.latest.revision | 11 | |||
| author | jeannt | |||
| ms.author | jeannt | |||
| manager | erikre |
Contains information about a warning returned by an instance of [!INCLUDEmsCoName] [!INCLUDEssNoVersion] [!INCLUDEssASnoversion].
<Message>
<Warning
ErrorCode="unsignedint"
Severity="string"
Description="string"
Source="string"
HelpFile="string"
/>
</Message> | Characteristic | Description |
|---|---|
| Data type and length | None |
| Default value | None |
| Cardinality | 0-1: Optional element that can occur once and only once. |
| Relationship | Element |
|---|---|
| Parent elements | Message |
| Child elements | None |
| Attribute | Description |
|---|---|
| ErrorCode | Required UnsignedInt attribute. Contains the numeric return code of the warning. |
| Severity | Optional String attribute. Contains the severity of the warning. |
| Description | Optional String attribute. Contains the descriptive text of the warning. |
| Source | Optional String attribute. Contains the name of the component that generated the warning. |
| HelpFile | Optional String attribute. Contains the path or URL to the Help file or topic that describes the warning. |