共用方式為


Server.MailProfile 屬性

Gets or sets the mail profile of the server.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property MailProfile As String 
    Get 
    Set
'用途
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)

屬性值

型別:System.String
The mail profile of the server.

實作

IServerSettings.MailProfile

請參閱

參考

Server 類別

Microsoft.SqlServer.Management.Smo 命名空間