共用方式為


ConnectionSettings.ThrowIfPropertyNotSet 方法

包含保護的成員
包含繼承的成員

Throws an exception if a connection property is not set.

此成員已超載。如需此成員完整的詳細資訊 (包括語法、使用狀況及範例),按一下多載清單中的名稱。

多載 清單

  名稱 說明
受保護的方法 ThrowIfPropertyNotSet(String, String) Throws an exception if the specified connection property is null or empty.
受保護的方法 ThrowIfPropertyNotSet(String, String, Boolean) Throws an exception if the specified connection property is null or, optionally, empty.

上層

請參閱

參考

ConnectionSettings 類別

Microsoft.SqlServer.Management.Common 命名空間