MultiShardConnection Constructors
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.
Overloads
MultiShardConnection(IEnumerable<Shard>, String) | |
MultiShardConnection(IEnumerable<ShardLocation>, String) |
MultiShardConnection(IEnumerable<Shard>, String)
public MultiShardConnection (System.Collections.Generic.IEnumerable<Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Shard> shards, string connectionString);
new Microsoft.Azure.SqlDatabase.ElasticScale.Query.MultiShardConnection : seq<Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Shard> * string -> Microsoft.Azure.SqlDatabase.ElasticScale.Query.MultiShardConnection
Public Sub New (shards As IEnumerable(Of Shard), connectionString As String)
Parameters
- shards
- IEnumerable<Shard>
- connectionString
- String
Applies to
MultiShardConnection(IEnumerable<ShardLocation>, String)
public MultiShardConnection (System.Collections.Generic.IEnumerable<Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardLocation> shardLocations, string connectionString);
new Microsoft.Azure.SqlDatabase.ElasticScale.Query.MultiShardConnection : seq<Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardLocation> * string -> Microsoft.Azure.SqlDatabase.ElasticScale.Query.MultiShardConnection
Public Sub New (shardLocations As IEnumerable(Of ShardLocation), connectionString As String)
Parameters
- shardLocations
- IEnumerable<ShardLocation>
- connectionString
- String
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET