MailProfile propriété
Gets or sets the mail profile for the instance of SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcPropertyAttribute> _
Public Property MailProfile As String
Get
Set
'Utilisation
Dim instance As Settings
Dim value As String
value = instance.MailProfile
instance.MailProfile = value
[SfcPropertyAttribute]
public string MailProfile { get; set; }
[SfcPropertyAttribute]
public:
property String^ MailProfile {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute>]
member MailProfile : string with get, set
function get MailProfile () : String
function set MailProfile (value : String)
Valeur de la propriété
Type : System. . :: . .String
A String value that specifies the name of the mail profile for the instance of SQL Server.
Notes
The mail profile enables SQL Server Agent to send and receive e-mails.
Voir aussi