SPWebPartConnection class

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

Inheritance hierarchy


Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)


<TypeConverterAttribute(GetType(ExpandableObjectConverter))> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class SPWebPartConnection
Dim instance As SPWebPartConnection
[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).

Thread safety

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

See also


SPWebPartConnection members

Microsoft.SharePoint.WebPartPages namespace