Partilhar 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
public enum AgentMailType
public enum class AgentMailType
public enum 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.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Microsoft.SqlServer.Management.Smo.Agent Namespace