ConnectionConsumerAttribute::AllowsMultipleConnections Property

 

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:
property bool AllowsMultipleConnections {
	bool get();
	void set(bool value);
}

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: