This topic has not yet been rated - Rate this topic

SPWebPartManager.SPDisconnectWebParts Method

Disconnects two connected Web Parts.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
public void SPDisconnectWebParts(
	SPWebPartConnection spConnection
)

Parameters

spConnection
Type: Microsoft.SharePoint.WebPartPages.SPWebPartConnection
The connection to disconnect.
Exception Condition
ArgumentNullException

The parameter is null.

Connection information is stored in the consumer Web Part.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ