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)

Syntax

<WebPartStorageAttribute(Storage := Storage.Shared)> _
<BrowsableAttribute(False)> _
Public Property ConnectionID As Guid
    Get
    Set

Dim instance As WebPart
Dim value As Guid

value = instance.ConnectionID

instance.ConnectionID = value
[WebPartStorageAttribute(Storage = Storage.Shared)]
[BrowsableAttribute(false)]
public Guid ConnectionID { get; set; }

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.

Remarks

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.

See Also

Reference

WebPart Class

WebPart Members

Microsoft.SharePoint.WebPartPages Namespace