ListObject.Disconnect Method
Removes data binding from the ListObject control.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
Sub Disconnect
void Disconnect()
Remarks
This method disconnects the ListObject control from the data source, sets the IsBinding property to false, and resets the DataSource and DataMember properties. Existing data remains in the ListObject control.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools.Excel Namespace