共用方式為


HttpClientConnection100Class.UseSecureConnection 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Gets or sets a Boolean that indicates whether the connection is HTTPS or HTTP.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Public Overridable Property UseSecureConnection As Boolean 
    Get 
    Set
'用途
Dim instance As HttpClientConnection100Class 
Dim value As Boolean 

value = instance.UseSecureConnection

instance.UseSecureConnection = value
public virtual bool UseSecureConnection { get; set; }
public:
virtual property bool UseSecureConnection {
    bool get ();
    void set (bool value);
}
abstract UseSecureConnection : bool with get, set 
override UseSecureConnection : bool with get, set
function get UseSecureConnection () : boolean 
function set UseSecureConnection (value : boolean)

屬性值

型別:System.Boolean
A Boolean that indicates whether the connection is HTTPS or HTTP. A value of true means that a secure HTTPS connection is used. A value of false means that a secure connection is not used. Instead, HTTP is used.

實作

IDTSHttpClientConnection100.UseSecureConnection

請參閱

參考

HttpClientConnection100Class 類別

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間