Freigeben über


DatabaseMailEnabled-Eigenschaft

Gets a Boolean value that specifies if the DatabaseMailEnabled property is set.

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

Syntax

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

value = instance.DatabaseMailEnabled

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

Eigenschaftswert

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