Udostępnij za pośrednictwem


ThrottlingMode Enumeration

Defines the possible throttling modes 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 ThrottlingMode
'Declaration
Public Enumeration ThrottlingMode
public enum class ThrottlingMode

Members

Member name Value Description
NoThrottling 0 Corresponds to the "No Throttling" throttling mode, in which all SQL statements can be processed.
RejectUpdateInsert 1 Corresponds to the "Reject Update / Insert" throttling mode, in which SQL statements such as INSERT, UPDATE, CREATE TABLE, and CREATE INDEX are rejected.
RejectAllWrites 2 Corresponds to the "Reject All Writes" throttling mode, in which SQL statements such as INSERT, UPDATE, DELETE, CREATE, and DROP are rejected.
RejectAll 3 Corresponds to the "Reject All" throttling mode, in which all SQL statements are rejected.
Unknown -1 Corresponds to an unknown throttling mode whereby throttling mode cannot be determined with certainty.

See Also

Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data Namespace