SPWebPartManager.SPDisconnectWebParts Method
Disconnects two connected Web Parts.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Parameters
- spConnection
- Type: Microsoft.SharePoint.WebPartPages.SPWebPartConnection
The connection to disconnect.
| Exception | Condition |
|---|---|
| ArgumentNullException |
The parameter is null. |