FailureReason Enumeration (2007 System)
Provides the reason why the ListObject data binding failed.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)
Syntax
'Declaration
Public Enumeration FailureReason
'Usage
Dim instance As FailureReason
public enum FailureReason
public enum class FailureReason
public enum FailureReason
Members
Member name | Description | |
---|---|---|
CouldNotResizeListObject | The ListObject could not be resized to make room for all of the data to be displayed. | |
InvalidDataSource | The data source specified is not valid. | |
NoDataBoundColumnsSpecified | At least one of the columns specified must map to the DataTable. |
Remarks
If the SetDataBinding method on the ListObject is unable to perform the data binding, a SetDataBindingFailedException exception is raised. The Reason property of this exception contains data about why the data binding failed.