MailProfile 属性
获取或设置 SQL 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 Settings
Dim value As String
value = instance.MailProfile
instance.MailProfile = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string MailProfile { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ MailProfile {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member MailProfile : string with get, set
function get MailProfile () : String
function set MailProfile (value : String)
属性值
类型:System. . :: . .String
一个 String 值,该值指定 SQL Server 实例的邮件配置文件名称。
注释
The mail profile enables SQL Server Agent to send and receive e-mails.