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
Expand Minimize

DataFormWebPart.GetSPWebPartConnectionByID method

Gets the SPWebPartConnection object by its ConsumerID value.

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

protected SPWebPartConnection GetSPWebPartConnectionByID(
	string connectionID
)

Parameters

connectionID
Type: System.String

The value of the ConsumerID property of the SPWebPartConnection to be returned.

Return value

Type: Microsoft.SharePoint.WebPartPages.SPWebPartConnection
The DataFormWebPart’s connection whose ConsumerID equals to connectionID.

This method returns the SPWebPartConnection with the specified connection ID. The value of the connectionID parameter must also equal the value of the ID property.

Show:
© 2015 Microsoft