Language

PoolBlockingPeriod Enum

Definition

Specifies a value for the PoolBlockingPeriod property.

For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient.

public enum class PoolBlockingPeriod
[System.Serializable]
public enum PoolBlockingPeriod
[<System.Serializable>]
type PoolBlockingPeriod = 
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.

For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient.

AlwaysBlock 1

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

For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient.

NeverBlock 2

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

For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient.

Applies to