Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.

 

Class SiteDataSettingsElement

Configuration class for overriding the global data settings

Inheritance
System.Object
SiteDataSettingsElement
Namespace: EPiServer.Data.Configuration
Assembly: EPiServer.Data.dll
Version: 7.19.2
Syntax
public class SiteDataSettingsElement : ConfigurationElement

Constructors

SiteDataSettingsElement()

Declaration
public SiteDataSettingsElement()

Properties

ConnectionStringName

Gets the connection string

Declaration
public string ConnectionStringName { get; set; }
Property Value
Type Description
System.String

DatabaseQueryTimeout

Gets the timeout for database queries

Declaration
public TimeSpan DatabaseQueryTimeout { get; set; }
Property Value
Type Description
System.TimeSpan

DeadlockRetries

Gets the number of retries in case a deadlock is detected

Declaration
[Obsolete("DeadlockRetries has been renamed to Retries")]
public int DeadlockRetries { get; set; }
Property Value
Type Description
System.Int32

DeadlockRetryDelay

Gets the delay between retries in case a deadlock is detected

Declaration
[Obsolete("DeadlockRetryDelay has been renamed to RetryDelay")]
public TimeSpan DeadlockRetryDelay { get; set; }
Property Value
Type Description
System.TimeSpan

Retries

Gets the number of retries in case a deadlock is detected

Declaration
public int Retries { get; set; }
Property Value
Type Description
System.Int32

RetryDelay

Gets the delay between retries in case a deadlock is detected

Declaration
public TimeSpan RetryDelay { get; set; }
Property Value
Type Description
System.TimeSpan

SiteId

Gets the site name (as defined on EPiServer.Web.SiteDefinition in EPiServer.dll )

Declaration
[Obsolete("It is not possible to have different settings per site")]
public string SiteId { get; set; }
Property Value
Type Description
System.String

Extension Methods