Freigeben über


DatabaseMailEnabled-Eigenschaft

Gets or sets the Boolean value that determines whether the referenced property is enabled.

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

Syntax

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

value = instance.DatabaseMailEnabled

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

Eigenschaftswert

Typ: System. . :: . .Boolean
A Boolean value whether the referenced property is enabled.
If True, the property is enabled. Otherwise, False.