IServerSettings.MailProfile 属性
Gets or sets the mail profile 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
The mail profile for an instance of SQL Server.