MailProfile-Eigenschaft
Ruft das E-Mail-Profil für die SQL Server-Instanz ab oder legt es fest.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property MailProfile As String
Get
Set
'Usage
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)
Eigenschaftswert
Typ: System. . :: . .String
Ein String-Wert, der den Namen des E-Mail-Profils für die SQL Server-Instanz angibt.
Hinweise
The mail profile enables SQL Server Agent to send and receive e-mails.