Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ConnectionConsumerAttribute.AllowsMultipleConnections Property

Note: This property is new in the .NET Framework version 2.0.

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 */
public boolean get_AllowsMultipleConnections ()

/** @property */
public void set_AllowsMultipleConnections (boolean value)

public function get AllowsMultipleConnections () : boolean

public function set AllowsMultipleConnections (value : boolean)

Property Value

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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.