共用方式為


ConfigurationSetting 屬性 - SecureConnectionLevel

傳回 RSReportServer.config 檔案中指定的安全連線層級。 唯讀。

語法

Public Dim SecureConnectionLevel As Integer  
public Integer SecureConnectionLevel;  

屬性值

代表安全連接層級的 Integer 值。 傳回值指出 TLS 是已設定或未設定。 值大於或等於 1 時,表示 TLS 為開啟狀態。 值為 0 時,表示 TLS 為關閉狀態。

程式碼範例

MSReportServer_ConfigurationSetting 類別

備註

在 SQL Server 2008 R2 中,SecureConnectionLevel 會變成 on/off 開關。 如需詳細資訊,請參閱 ConfigurationSetting 方法 - SetSecureConnectionLevel

需求

Namespace: root\Microsoft\SqlServer\ReportServer\<InstanceName>\v13\Admin

MSReportServer_ConfigurationSetting 成員