ConnectionConsumerAttribute.AllowsMultipleConnections Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value that indicates whether the connection point allows multiple connections.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

public bool AllowsMultipleConnections { get; set; }

Property Value

Type: System.Boolean

true if the connection point accepts multiple connections; otherwise, false.

By default, consumer connections do not accept multiple connections, so this property is set to false. Provider connections, however, do accept multiple connections by default, and this property on a ConnectionProviderAttribute object is set to true.

.NET Framework
Available since 2.0
Return to top
Show: