다음을 통해 공유


MailProfile 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<DisplayNameKeyAttribute("Server_MailProfileName")> _
<DisplayDescriptionKeyAttribute("Server_MailProfileDesc")> _
Property MailProfile As String
    Get
    Set
‘사용 방법
Dim instance As IServerSettings
Dim value As String

value = instance.MailProfile

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

속성 값

형식: System. . :: . .String
String