Share via


AgentMailType Enumeration

The AgentMailType enumeration contains values that are used to specify the source of mail.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)

Syntax

'Declaration
Public Enumeration AgentMailType
'Usage
Dim instance As AgentMailType
public enum AgentMailType
public enum class AgentMailType
type AgentMailType
public enum AgentMailType

Members

Member name Description
DatabaseMail The mail is from the Microsoft SQL Server Database Mail service.
SqlAgentMail The mail is from the Microsoft SQL Server Agent Mail service.

Remarks

The AgentMailType enumeration class is served by the AgentMailType property.

See Also

Reference

Microsoft.SqlServer.Management.Smo.Agent Namespace