Compartir a través de


SPWebPartConnection Class

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

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.WebPartPages.SPWebPartConnection

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

Syntax

<TypeConverterAttribute(GetType(ExpandableObjectConverter))> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class SPWebPartConnection

Dim instance As SPWebPartConnection
[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SPWebPartConnection

Remarks

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

Reference

SPWebPartConnection Members

Microsoft.SharePoint.WebPartPages Namespace