Edit

Share via


PoolBlockingPeriod Enum

Definition

Caution

Use the Microsoft.Data.SqlClient package instead.

Specifies a value for the PoolBlockingPeriod property.

C#
public enum PoolBlockingPeriod
C#
[System.Obsolete("Use the Microsoft.Data.SqlClient package instead.")]
public enum PoolBlockingPeriod
C#
[System.Serializable]
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 all SQL servers including Azure SQL servers.

Applies to

Product Versions (Obsolete)
.NET 6 (package-provided) (8 (package-provided))
.NET Framework 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1