Compartilhar via


Propriedade do RDL JobServer.AgentMailType

Gets or sets the mail type for SQL Server Agent.

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

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property AgentMailType As AgentMailType 
    Get 
    Set
'Uso
Dim instance As JobServer 
Dim value As AgentMailType 

value = instance.AgentMailType

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

Valor da propriedade

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

Exemplos

Agendando tarefas administrativas automáticas no SQL Server Agent

Consulte também

Referência

JobServer Classe

Namespace Microsoft.SqlServer.Management.Smo.Agent

Outros recursos

Tarefas de administração automatizadas (SQL Server Agent)

Procedimentos armazenados do SQL Server Agent (Transact-SQL)