Delen via


MailServer.EnableSsl Property

Gets or sets whether the secure socket layer is enabled.

Namespace:  Microsoft.SqlServer.Management.Smo.Mail
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property EnableSsl As Boolean
    Get
    Set
'Usage
Dim instance As MailServer
Dim value As Boolean

value = instance.EnableSsl

instance.EnableSsl = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool EnableSsl { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool EnableSsl {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member EnableSsl : bool with get, set
function get EnableSsl () : boolean
function set EnableSsl (value : boolean)

Property Value

Type: System.Boolean
A Boolean value that indicates the result of the operation, True if Ssl enabled, otherwise False.