Class ReplicationServerGroupConfigurationElement
Defines a replication server group in the configuration file.
Inheritance
System.Object
System.Configuration.ConfigurationElement
ReplicationServerGroupConfigurationElement
Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data.dll
Version: 9.3.0
Syntax
public sealed class ReplicationServerGroupConfigurationElement : ConfigurationElement
Properties
GroupType
Gets or sets the group type of the replication server group configuration.
Declaration
[ConfigurationProperty("groupType", IsRequired = false)]
public string GroupType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Gets or sets the name of the replication server group configuration.
Declaration
[ConfigurationProperty("name", IsRequired = true)]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RetryTime
Gets or sets the number of seconds to wait for retry.
Declaration
[ConfigurationProperty("retryTime", IsRequired = false, DefaultValue = 60)]
public int RetryTime { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Servers
Gets a collection of ReplicationServerConfigurationElement objects representing the server configurations associated to this group configuration.
Declaration
[ConfigurationProperty("Servers")]
[ConfigurationCollection(typeof(ReplicationServerConfigurationElement), AddItemName = "Server")]
public GenericConfigurationElementCollection<ReplicationServerConfigurationElement> Servers { get; }
Property Value
Type | Description |
---|---|
GenericConfigurationElementCollection<ReplicationServerConfigurationElement> |