WebPart.ConnectionID property

Gets or sets the GUID that is used internally by the Web Part infrastructure as the unique identifier of a Web Part connection.

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

<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage := Storage.Shared)> _
Public Property ConnectionID As Guid
Dim instance As WebPart
Dim value As Guid

value = instance.ConnectionID

instance.ConnectionID = value

Property value

Type: System.Guid
A System.Guid that uniquely identifies a connection between Web Parts. The default value for an unconnected Web Part is Guid.Empty.

The ConnectionID property cannot be personalized by individual users. The value of its WebPartStorageAttribute is Storage.Shared, which specifies that the property will be stored with the same value for all users. Only users with the Write web pages right can set this property. It can only be set or returned programmatically.