Поделиться через


Свойство MailProfile

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<DisplayDescriptionKeyAttribute("Server_MailProfileDesc")> _
<DisplayNameKeyAttribute("Server_MailProfileName")> _
Property MailProfile As String
    Get
    Set
'Применение
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)

Значение свойства

Тип: System. . :: . .String
String