JobServer.AgentMailType-Eigenschaft
Gets or sets the mail type for SQL Server Agent.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property AgentMailType As AgentMailType
Get
Set
'Usage
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)
Eigenschaftswert
Typ: Microsoft.SqlServer.Management.Smo.Agent.AgentMailType
An AgentMailType object value that specifies the mail type for SQL Server Agent.
Beispiele
Planen von automatischen, administrativen Tasks im SQL Server-Agent
Siehe auch
Verweis
Microsoft.SqlServer.Management.Smo.Agent-Namespace
Andere Ressourcen
Automatisierte Administrationstasks (SQL Server-Agent)
Gespeicherte Prozeduren des SQL Server-Agents (Transact-SQL)