Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SPWebPartConnection class

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

System.Object
  Microsoft.SharePoint.WebPartPages.SPWebPartConnection

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

[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
[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.
Show:
© 2015 Microsoft