ListObject.Disconnect Method (2007 System)
Removes data binding from the ListObject control.
Assembly: Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)
'Declaration Public Sub Disconnect
'Usage Dim instance As ListObject instance.Disconnect()
public void Disconnect()
public: void Disconnect()
public function Disconnect()
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.