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)

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