Export (0) Print
Expand All
Expand Minimize

FailureReason Enumeration

Provides the reason why the ListObject data binding failed.

Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in microsoft.office.tools.excel.dll)

public enum FailureReason

 Member nameDescription
CouldNotResizeListObjectThe ListObject could not be resized to make room for all of the data to be displayed. 
InvalidDataSourceThe data source specified is not valid. 
NoDataBoundColumnsSpecifiedAt least one of the columns specified must map to the DataTable

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.

© 2014 Microsoft