Udostępnij za pośrednictwem


ThrottlingType Enumeration

Defines the possible throttling types in SQL Database.

Namespace: Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data
Assembly: Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data (in Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data.dll) Version: 6.0.0.0 (6.0.1304.0)

Syntax

public enum ThrottlingType
'Declaration
Public Enumeration ThrottlingType
public enum class ThrottlingType

Members

Member name Value Description
None 0 Indicates that no throttling was applied to a given resource.
Soft 1 Corresponds to a soft throttling type. Soft throttling is applied when machine resources such as, CPU, I/O, storage, and worker threads exceed predefined safety thresholds despite the load balancer’s best efforts.
Hard 2 Corresponds to a hard throttling type. Hard throttling is applied when the machine is out of resources, for example storage space. With hard throttling, no new connections are allowed to the databases hosted on the machine until resources are freed up.
Unknown 3 Corresponds to an unknown throttling type in the event that the throttling type cannot be determined with certainty.

See Also

Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data Namespace