Partilhar via


Propriedade DatabaseMailEnabled

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

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

Sintaxe

'Declaração
Public Property DatabaseMailEnabled As Boolean
    Get
    Set
'Uso
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)

Valor da propriedade

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