Class IgniteDbConnectionStringBuilder
Ignite connection string builder.
[SuppressMessage("Design", "CA1010:Generic interface should also be implemented", Justification = "Reviewed.")]
public sealed class IgniteDbConnectionStringBuilder : DbConnectionStringBuilder, IDictionary, ICollection, IEnumerable, ICustomTypeDescriptor
- Inheritance
-
IgniteDbConnectionStringBuilder
- Implements
- Inherited Members
Constructors
IgniteDbConnectionStringBuilder()
Initializes a new instance of the IgniteDbConnectionStringBuilder class.
public IgniteDbConnectionStringBuilder()
IgniteDbConnectionStringBuilder(string)
Initializes a new instance of the IgniteDbConnectionStringBuilder class.
public IgniteDbConnectionStringBuilder(string connectionString)
Parameters
connectionStringstringConnection string.
Fields
EndpointSeparator
Gets the character used to separate multiple endpoints in the connection string.
public const char EndpointSeparator = ','
Field Value
Properties
Endpoints
Gets or sets the Ignite endpoints. Multiple endpoints can be specified separated by comma, e.g. "localhost:10800,localhost:10801". If the port is not specified, the default port 10800 is used.
[SuppressMessage("Usage", "CA2227:Collection properties should be read only", Justification = "Reviewed.")]
public IList<string> Endpoints { get; set; }
Property Value
HeartbeatInterval
Gets or sets the heartbeat interval. See HeartbeatInterval for more details.
public TimeSpan HeartbeatInterval { get; set; }
Property Value
this[string]
[AllowNull]
public override object this[string keyword] { get; set; }
Parameters
keywordstring
Property Value
LoggerFactory
Gets or sets the logger factory type name. See LoggerFactory for more details.
public string? LoggerFactory { get; set; }
Property Value
OperationTimeout
Gets or sets the operation timeout. See OperationTimeout for more details.
public TimeSpan OperationTimeout { get; set; }
Property Value
Password
Gets or sets the password for authentication.
public string? Password { get; set; }
Property Value
ReResolveAddressesInterval
Gets or sets the re-resolve interval. See ReResolveAddressesInterval for more details.
public TimeSpan ReResolveAddressesInterval { get; set; }
Property Value
ReconnectInterval
Gets or sets the reconnect interval. See ReconnectInterval for more details.
public TimeSpan ReconnectInterval { get; set; }
Property Value
SocketTimeout
Gets or sets the socket timeout. See SocketTimeout for more details.
public TimeSpan SocketTimeout { get; set; }
Property Value
SqlPartitionAwarenessMetadataCacheSize
Gets or sets the SQL partition awareness metadata cache size. See SqlPartitionAwarenessMetadataCacheSize for more details.
public int SqlPartitionAwarenessMetadataCacheSize { get; set; }
Property Value
SslEnabled
Gets or sets a value indicating whether SSL is enabled.
public bool SslEnabled { get; set; }
Property Value
Username
Gets or sets the username for authentication.
public string? Username { get; set; }
Property Value
Methods
ToIgniteClientConfiguration()
Converts this instance to IgniteClientConfiguration.
public IgniteClientConfiguration ToIgniteClientConfiguration()
Returns
- IgniteClientConfiguration
Ignite client configuration.