Warning Class
SQL Server 2008 R2
Represents a list of errors or warnings that is returned when a report is published or processed.
Namespace:
ReportService2005
Assembly: ReportService2005 (in ReportService2005.dll)
The Warning type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Code | Gets or sets the error code that is assigned to the warning by the report server. |
![]() | Message | Gets or sets a message that describes the error or warning. |
![]() | ObjectName | Gets or sets the name of an object in the report definition that contributed to the warning. |
![]() | ObjectType | Gets or sets the severity type of the error or warning. |
![]() | Severity | Gets or sets a message that describes the error or warning. |
A Warning object is returned as output by the CreateReport, CreateReportHistorySnapshot,Render, and SetReportDefinition methods.

