SPWebPartConnection Class

Provides an object that enables two Web Parts to form a connection.


Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SPWebPartConnection

The SPWebPartConnection object provides all the same functionality as System.Web.UI.WebControls.WebParts.WebPartConnection class, with the additional functionality of being able to form cross-page connections and connections in which one or more of the Web Parts is static (not in a Web Part Zone).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.