Share via

ConnectionConsumerAttribute.AllowsMultipleConnections Property


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

 property bool AllowsMultipleConnections { bool get(); void set(bool value); };
public bool AllowsMultipleConnections { get; set; }
member this.AllowsMultipleConnections : bool with get, set
Public Property AllowsMultipleConnections As 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.

Applies to

See also