語言

PoolBlockingPeriod 列舉

定義

指定 PoolBlockingPeriod 屬性的值。

新開發的話,請使用 Microsoft。Data.SqlClient。 本頁說明了 System.Data.SqlClient。

public enum class PoolBlockingPeriod
[System.Serializable]
public enum PoolBlockingPeriod
[<System.Serializable>]
type PoolBlockingPeriod = 
Public Enum PoolBlockingPeriod
繼承
PoolBlockingPeriod
屬性

欄位

名稱 值 Description
Auto 0

Azure SQL 伺服器的封鎖期間關閉,但其他 SQL 伺服器則開啟。

新開發的話,請使用 Microsoft。Data.SqlClient。 本頁說明了 System.Data.SqlClient。

AlwaysBlock 1

所有 SQL 伺服器(包括 Azure SQL 伺服器)都開啟封鎖期間。

新開發的話,請使用 Microsoft。Data.SqlClient。 本頁說明了 System.Data.SqlClient。

NeverBlock 2

所有 SQL 伺服器(包括 Azure SQL 伺服器)都關閉封鎖期間。

新開發的話,請使用 Microsoft。Data.SqlClient。 本頁說明了 System.Data.SqlClient。

適用於