共用方式為


AgentMailType 屬性

Gets or sets the mail type for SQL Server Agent.

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public Property AgentMailType As AgentMailType
    Get
    Set
'用途
Dim instance As JobServer
Dim value As AgentMailType

value = instance.AgentMailType

instance.AgentMailType = value
[SfcPropertyAttribute]
public AgentMailType AgentMailType { get; set; }
[SfcPropertyAttribute]
public:
property AgentMailType AgentMailType {
    AgentMailType get ();
    void set (AgentMailType value);
}
[<SfcPropertyAttribute>]
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.