PoolBlockingPeriod Enum

Definition

Specifies a value for the PoolBlockingPeriod property.

C#
[System.Serializable]
public enum PoolBlockingPeriod
C#
public enum PoolBlockingPeriod
Inheritance
PoolBlockingPeriod
Attributes

Fields

Name Value Description
Auto 0

Blocking period OFF for Azure SQL servers, but ON for all other SQL servers.

AlwaysBlock 1

Blocking period ON for all SQL servers including Azure SQL servers.

NeverBlock 2

Blocking period OFF for Azure SQL servers, but ON for all other SQL servers.

Applies to

Product Versions
SqlClient .NET Core 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2
SqlClient .NET Framework 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2
SqlClient .NET Standard 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2