Partager via


DatabaseMailEnabled propriété

Gets the ConfigProperty object that is used to set the database mail enabled configuration option.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property DatabaseMailEnabled As ConfigProperty
    Get
'Utilisation
Dim instance As Configuration
Dim value As ConfigProperty

value = instance.DatabaseMailEnabled
public ConfigProperty DatabaseMailEnabled { get; }
public:
property ConfigProperty^ DatabaseMailEnabled {
    ConfigProperty^ get ();
}
member DatabaseMailEnabled : ConfigProperty
function get DatabaseMailEnabled () : ConfigProperty

Valeur de la propriété

Type : Microsoft.SqlServer.Management.Smo. . :: . .ConfigProperty
A ConfigProperty object that specifies the settings for the database mail enabled configuration option.

Notes

The Affinity64Mask property sets the database mail enabled configuration option. This property is used to enable the SQL Server Database Mail.