次の方法で共有


SMTPConn.EnableSsl プロパティ

電子メール メッセージの送信時に、SSL (Secure Sockets Layer) を使用して通信を暗号化するかどうかを示す Boolean を取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Dts.ManagedConnections
アセンブリ:  Microsoft.SqlServer.ManagedConnections (Microsoft.SqlServer.ManagedConnections.dll)

構文

'宣言
Public Property EnableSsl As Boolean 
    Get 
    Set
'使用
Dim instance As SMTPConn 
Dim value As Boolean 

value = instance.EnableSsl

instance.EnableSsl = value
public bool EnableSsl { get; set; }
public:
property bool EnableSsl {
    bool get ();
    void set (bool value);
}
member EnableSsl : bool with get, set
function get EnableSsl () : boolean 
function set EnableSsl (value : boolean)

プロパティ値

型: System.Boolean
true は、電子メール メッセージの送信時に、SSL (Secure Sockets Layer) を使用して通信を暗号化することを示します。False は、暗号化を使用しないことを示します。

関連項目

参照

SMTPConn クラス

Microsoft.SqlServer.Dts.ManagedConnections 名前空間