編輯

共用方式為


PoolBlockingPeriod Enum

Definition

Caution

Use the Microsoft.Data.SqlClient package instead.

Specifies a value for the PoolBlockingPeriod property.

public enum class PoolBlockingPeriod
public enum PoolBlockingPeriod
[System.Obsolete("Use the Microsoft.Data.SqlClient package instead.")]
public enum PoolBlockingPeriod
[System.Serializable]
public enum PoolBlockingPeriod
type PoolBlockingPeriod = 
[<System.Obsolete("Use the Microsoft.Data.SqlClient package instead.")>]
type 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.

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