Поделиться через


Свойство AgentMailType

Gets or sets the mail type for SQL Server Agent.

Пространство имен:  Microsoft.SqlServer.Management.Smo.Agent
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property AgentMailType As AgentMailType
    Get
    Set
'Применение
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)

Значение свойства

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