Propriété JobServer.SqlAgentMailProfile
Gets or sets a SQL Server Agent mail profile.
Espace de noms : Microsoft.SqlServer.Management.Smo.Agent
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property SqlAgentMailProfile As String
Get
Set
'Utilisation
Dim instance As JobServer
Dim value As String
value = instance.SqlAgentMailProfile
instance.SqlAgentMailProfile = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public string SqlAgentMailProfile { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property String^ SqlAgentMailProfile {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member SqlAgentMailProfile : string with get, set
function get SqlAgentMailProfile () : String
function set SqlAgentMailProfile (value : String)
Valeur de propriété
Type : System.String
A String value that specifies the name of the SQL Server Agent mail profile.
Exemples
Planification des tâches administratives automatiques dans l'Agent SQL Server
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo.Agent