Partager via


Propriété Server.MailProfile

Gets or sets the mail profile of the server.

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

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property MailProfile As String 
    Get 
    Set
'Utilisation
Dim instance As Server 
Dim value As String 

value = instance.MailProfile

instance.MailProfile = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string MailProfile { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
virtual property String^ MailProfile {
    String^ get () sealed;
    void set (String^ value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
abstract MailProfile : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
override MailProfile : string with get, set
final function get MailProfile () : String 
final function set MailProfile (value : String)

Valeur de propriété

Type : System.String
The mail profile of the server.

Implémente

IServerSettings.MailProfile

Voir aussi

Référence

Server Classe

Espace de noms Microsoft.SqlServer.Management.Smo