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.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
public override ProviderConnectionPointCollection GetProviderConnectionPoints( WebPart webPart )
Parameters
- webPart
- Type: System.Web.UI.WebControls.WebParts.WebPart
A Web Part that is acting as a provider in a connection.
Return Value
Type: System.Web.UI.WebControls.WebParts.ProviderConnectionPointCollectionThe ProviderConnectionPointCollection that contains all connection points in the provider.
| Exception | Condition |
|---|---|
| ArgumentNullException |
webPart is null |