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

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 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.

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.

Show:
© 2015 Microsoft