ConnectionConsumerAttribute.AllowsMultipleConnections Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the connection point allows multiple connections.
public:
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
.
Remarks
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
.