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)
'Declaration
<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage := Storage.Shared)> _
Public Property ConnectionID As Guid
Get
Set
'Usage
Dim instance As WebPart
Dim value As Guid
value = instance.ConnectionID
instance.ConnectionID = value
[BrowsableAttribute(false)]
[WebPartStorageAttribute(Storage = Storage.Shared)]
public Guid ConnectionID { get; set; }
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.