共用方式為


SqlServerBaseLinkedServiceTypeProperties interface

Sql Server 系列連接器常見的連結服務屬性。

屬性

applicationIntent

聯機到建議版本所使用的伺服器時,應用程式工作負載類型。 可能的值為 ReadOnly 和 ReadWrite。 Type:string (或 expression with resultType string) 。

commandTimeout

終止嘗試執行命令並產生錯誤之前的預設等候時間(以秒為單位),由建議的版本使用。 類型:integer (或 expression with resultType integer) 。

connectRetryCount

識別建議版本所使用的閑置連線失敗之後嘗試的重新連線數目。 這必須是介於 0 到 255 之間的整數。 類型:integer (或 expression with resultType integer) 。

connectRetryInterval

識別建議版本所使用的閑置連線失敗之後,每個重新連線嘗試之間的時間量(以秒為單位)。 這必須是介於 1 到 60 之間的整數。 類型:integer (或 expression with resultType integer) 。

connectTimeout

在終止嘗試並產生建議版本所使用的錯誤之前,等候伺服器連線的時間長度(以秒為單位)。 類型:integer (或 expression with resultType integer) 。

database

建議版本所使用的資料庫名稱。 Type:string (或 expression with resultType string) 。

encrypt

指出客戶端與伺服器之間傳送的所有數據是否需要 TLS 加密,供建議版本使用。 可能的值為 true/yes/mandatory、false/no/optional 和 strict。 Type:string (或 expression with resultType string) 。

failoverPartner

如果主伺服器關閉,建議版本會使用所要連線之夥伴伺服器的名稱或位址。 Type:string (或 expression with resultType string) 。

hostNameInCertificate

驗證連線之伺服器證書時要使用的主機名。 若未指定,來自數據源的伺服器名稱會用於建議版本所使用的憑證驗證。 Type:string (或 expression with resultType string) 。

integratedSecurity

指出是否在連線中指定使用者標識碼和密碼(若為 false),或目前的 Windows 帳戶認證是否用於驗證(若為 true),供建議版本使用。 類型:布爾值(或具有 resultType 布爾值的表達式)。

loadBalanceTimeout

在被建議版本使用之前,聯機生存在聯機集區中的最短時間,以秒為單位。 類型:integer (或 expression with resultType integer) 。

maxPoolSize

此特定連接字串的連線區中允許的連線數目上限,供建議版本使用。 類型:integer (或 expression with resultType integer) 。

minPoolSize

建議版本所使用的此特定連接字串,聯機集區中允許的連線數目下限。 類型:integer (或 expression with resultType integer) 。

multipleActiveResultSets

若為 true,應用程式可以維護多個作用中結果集 (MARS)。 若為 false,應用程式必須先處理或取消一個批次的所有結果集,才能在該連線上執行任何其他批次,供建議版本使用。 類型:布爾值(或具有 resultType 布爾值的表達式)。

multiSubnetFailover

如果您的應用程式連線到不同子網上的 AlwaysOn 可用性群組 (AG),則設定 MultiSubnetFailover=true 可讓您更快速地偵測並連線到建議版本所使用的作用中伺服器。 類型:布爾值(或具有 resultType 布爾值的表達式)。

packetSize

網路封包的大小,以位元組為單位,用來與建議版本所使用的伺服器實例通訊。 類型:integer (或 expression with resultType integer) 。

pooling

指出每次要求連線時,是否要集區或明確開啟連線,供建議版本使用。 類型:布爾值(或具有 resultType 布爾值的表達式)。

server

建議版本所使用的 SQL Server 實例名稱或網路位址。 Type:string (或 expression with resultType string) 。

trustServerCertificate

指出通道是否會在略過憑證鏈結以驗證建議版本所使用的信任時加密。 類型:布爾值(或具有 resultType 布爾值的表達式)。

屬性詳細資料

applicationIntent

聯機到建議版本所使用的伺服器時,應用程式工作負載類型。 可能的值為 ReadOnly 和 ReadWrite。 Type:string (或 expression with resultType string) 。

applicationIntent?: any

屬性值

any

commandTimeout

終止嘗試執行命令並產生錯誤之前的預設等候時間(以秒為單位),由建議的版本使用。 類型:integer (或 expression with resultType integer) 。

commandTimeout?: any

屬性值

any

connectRetryCount

識別建議版本所使用的閑置連線失敗之後嘗試的重新連線數目。 這必須是介於 0 到 255 之間的整數。 類型:integer (或 expression with resultType integer) 。

connectRetryCount?: any

屬性值

any

connectRetryInterval

識別建議版本所使用的閑置連線失敗之後,每個重新連線嘗試之間的時間量(以秒為單位)。 這必須是介於 1 到 60 之間的整數。 類型:integer (或 expression with resultType integer) 。

connectRetryInterval?: any

屬性值

any

connectTimeout

在終止嘗試並產生建議版本所使用的錯誤之前,等候伺服器連線的時間長度(以秒為單位)。 類型:integer (或 expression with resultType integer) 。

connectTimeout?: any

屬性值

any

database

建議版本所使用的資料庫名稱。 Type:string (或 expression with resultType string) 。

database?: any

屬性值

any

encrypt

指出客戶端與伺服器之間傳送的所有數據是否需要 TLS 加密,供建議版本使用。 可能的值為 true/yes/mandatory、false/no/optional 和 strict。 Type:string (或 expression with resultType string) 。

encrypt?: any

屬性值

any

failoverPartner

如果主伺服器關閉,建議版本會使用所要連線之夥伴伺服器的名稱或位址。 Type:string (或 expression with resultType string) 。

failoverPartner?: any

屬性值

any

hostNameInCertificate

驗證連線之伺服器證書時要使用的主機名。 若未指定,來自數據源的伺服器名稱會用於建議版本所使用的憑證驗證。 Type:string (或 expression with resultType string) 。

hostNameInCertificate?: any

屬性值

any

integratedSecurity

指出是否在連線中指定使用者標識碼和密碼(若為 false),或目前的 Windows 帳戶認證是否用於驗證(若為 true),供建議版本使用。 類型:布爾值(或具有 resultType 布爾值的表達式)。

integratedSecurity?: any

屬性值

any

loadBalanceTimeout

在被建議版本使用之前,聯機生存在聯機集區中的最短時間,以秒為單位。 類型:integer (或 expression with resultType integer) 。

loadBalanceTimeout?: any

屬性值

any

maxPoolSize

此特定連接字串的連線區中允許的連線數目上限,供建議版本使用。 類型:integer (或 expression with resultType integer) 。

maxPoolSize?: any

屬性值

any

minPoolSize

建議版本所使用的此特定連接字串,聯機集區中允許的連線數目下限。 類型:integer (或 expression with resultType integer) 。

minPoolSize?: any

屬性值

any

multipleActiveResultSets

若為 true,應用程式可以維護多個作用中結果集 (MARS)。 若為 false,應用程式必須先處理或取消一個批次的所有結果集,才能在該連線上執行任何其他批次,供建議版本使用。 類型:布爾值(或具有 resultType 布爾值的表達式)。

multipleActiveResultSets?: any

屬性值

any

multiSubnetFailover

如果您的應用程式連線到不同子網上的 AlwaysOn 可用性群組 (AG),則設定 MultiSubnetFailover=true 可讓您更快速地偵測並連線到建議版本所使用的作用中伺服器。 類型:布爾值(或具有 resultType 布爾值的表達式)。

multiSubnetFailover?: any

屬性值

any

packetSize

網路封包的大小,以位元組為單位,用來與建議版本所使用的伺服器實例通訊。 類型:integer (或 expression with resultType integer) 。

packetSize?: any

屬性值

any

pooling

指出每次要求連線時,是否要集區或明確開啟連線,供建議版本使用。 類型:布爾值(或具有 resultType 布爾值的表達式)。

pooling?: any

屬性值

any

server

建議版本所使用的 SQL Server 實例名稱或網路位址。 Type:string (或 expression with resultType string) 。

server?: any

屬性值

any

trustServerCertificate

指出通道是否會在略過憑證鏈結以驗證建議版本所使用的信任時加密。 類型:布爾值(或具有 resultType 布爾值的表達式)。

trustServerCertificate?: any

屬性值

any