다음을 통해 공유


SMTPConn.EnableSsl 속성

Gets or sets a Boolean indicating whether to encrypt communication using Secure Sockets Layer (SSL) when sending e-mail messages.

네임스페이스:  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 indicates that communication is encrypted, using Secure Sockets Layer (SSL) when sending e-mail messages. false indicates that encryption is not used.

참고 항목

참조

SMTPConn 클래스

Microsoft.SqlServer.Dts.ManagedConnections 네임스페이스