JobServer.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.

SQL Server 에이전트에서 자동 관리 태스크 예약

참고 항목

참조

JobServer 클래스

Microsoft.SqlServer.Management.Smo.Agent 네임스페이스

관련 자료

관리 태스크 자동화(SQL Server 에이전트)

SQL Server 에이전트 저장 프로시저(Transact-SQL)