Freigeben über


SqlMailEnabled-Eigenschaft

Gets or sets a Boolean value that specifies if the SqlMailEnabled property value is set.

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

Syntax

'Declaration
Property SqlMailEnabled As Boolean
    Get
    Set
'Usage
Dim instance As IServerConfigurationFacet
Dim value As Boolean

value = instance.SqlMailEnabled

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

Eigenschaftswert

Typ: System. . :: . .Boolean
True if the property is set. False if the property is not set.