다음을 통해 공유


SqlMail 클래스

The SqlMail class represents the SQL Server Database Mail subsystem.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Mail
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<SfcElementTypeAttribute("Mail")> _
Public NotInheritable Class SqlMail _
    Inherits SqlSmoObject _
    Implements IScriptable
‘사용 방법
Dim instance As SqlMail
[SfcElementTypeAttribute("Mail")]
public sealed class SqlMail : SqlSmoObject, 
    IScriptable
[SfcElementTypeAttribute(L"Mail")]
public ref class SqlMail sealed : public SqlSmoObject, 
    IScriptable
[<SealedAttribute>]
[<SfcElementTypeAttribute("Mail")>]
type SqlMail =  
    class
        inherit SqlSmoObject
        interface IScriptable
    end
public final class SqlMail extends SqlSmoObject implements IScriptable

주의

The SqlMail object provides programmatic access to the SQL Server Database Mail subsystem. With the SqlMail object you can:

  • Configure the SQL Server Database Mail subsystem.

  • Monitor the SQL Server Database Mail subsystem.

The SqlMail object does not provide access to individual mailboxes or the sending and receiving of messages. It provides configuration and monitoring functionality only.

The SqlMail class is the top level class in the Microsoft.SqlServer.Management.Smo.Mail namespace.

Thread Safety

이 유형의 모든 public static(Microsoft Visual Basic의 경우 공유) 멤버는 다중 스레드 작업을 수행하기에 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

상속 계층 구조

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo. . :: . .SmoObjectBase
    Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
      Microsoft.SqlServer.Management.Smo.Mail..::..SqlMail

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.