SPWebPartManager.GetProviderConnectionPoints Method

Returns the collection of provider connection points that can act as connection points from a Web Part that is acting as a provider inside a Web Parts connection.

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

Syntax

'Declaration
Public Overrides Function GetProviderConnectionPoints ( _
    webPart As WebPart _
) As ProviderConnectionPointCollection
'Usage
Dim instance As SPWebPartManager
Dim webPart As WebPart
Dim returnValue As ProviderConnectionPointCollection

returnValue = instance.GetProviderConnectionPoints(webPart)
public override ProviderConnectionPointCollection GetProviderConnectionPoints(
    WebPart webPart
)

Parameters

Return Value

Type: System.Web.UI.WebControls.WebParts.ProviderConnectionPointCollection
The ProviderConnectionPointCollection that contains all connection points in the provider.

Exceptions

Exception Condition
ArgumentNullException

webPart is a null reference (Nothing in Visual Basic)

Remarks

This override retrieves the provider connection for the Web Part.

See Also

Reference

SPWebPartManager Class

SPWebPartManager Members

Microsoft.SharePoint.WebPartPages Namespace