Server.MailProfile Property

Gets or sets the MailProfile property value.

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public Property MailProfile As String
    Get
    Set
'Usage
Dim instance As Server
Dim value As String

value = instance.MailProfile

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

Property Value

Type: System.String
String

Implements

IServerSettings.MailProfile