Propriété MailProfile

Gets or sets the MailProfile property for an instance of SQL Server.

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

Syntaxe

'Déclaration
<DisplayDescriptionKeyAttribute("Server_MailProfileDesc")> _
<DisplayNameKeyAttribute("Server_MailProfileName")> _
Property MailProfile As String
    Get
    Set
'Utilisation
Dim instance As IServerSettings
Dim value As String

value = instance.MailProfile

instance.MailProfile = value
[DisplayDescriptionKeyAttribute("Server_MailProfileDesc")]
[DisplayNameKeyAttribute("Server_MailProfileName")]
string MailProfile { get; set; }
[DisplayDescriptionKeyAttribute(L"Server_MailProfileDesc")]
[DisplayNameKeyAttribute(L"Server_MailProfileName")]
property String^ MailProfile {
    String^ get ();
    void set (String^ value);
}
[<DisplayDescriptionKeyAttribute("Server_MailProfileDesc")>]
[<DisplayNameKeyAttribute("Server_MailProfileName")>]
abstract MailProfile : string with get, set
function get MailProfile () : String
function set MailProfile (value : String)

Valeur de propriété

Type : System. . :: . .String
String