Partager via


AgentMailType propriété

Gets or sets the mail type for SQL Server Agent.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public Property AgentMailType As AgentMailType
    Get
    Set
'Utilisation
Dim instance As JobServer
Dim value As AgentMailType

value = instance.AgentMailType

instance.AgentMailType = value
[SfcPropertyAttribute]
public AgentMailType AgentMailType { get; set; }
[SfcPropertyAttribute]
public:
property AgentMailType AgentMailType {
    AgentMailType get ();
    void set (AgentMailType value);
}
[<SfcPropertyAttribute>]
member AgentMailType : AgentMailType with get, set
function get AgentMailType () : AgentMailType
function set AgentMailType (value : AgentMailType)

Valeur de la propriété

Type : Microsoft.SqlServer.Management.Smo.Agent. . :: . .AgentMailType
An AgentMailType object value that specifies the mail type for SQL Server Agent.