MailAccount 클래스

The MailAccount class represents a SQL Server Database Mail subsystem mail account.

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

구문

‘선언
Public NotInheritable Class MailAccount _
    Inherits ScriptNameObjectBase _
    Implements IAlterable, ICreatable, IDroppable, IRenamable,  _
    IScriptable
‘사용 방법
Dim instance As MailAccount
public sealed class MailAccount : ScriptNameObjectBase, 
    IAlterable, ICreatable, IDroppable, IRenamable, IScriptable
public ref class MailAccount sealed : public ScriptNameObjectBase, 
    IAlterable, ICreatable, IDroppable, IRenamable, IScriptable
[<SealedAttribute>]
type MailAccount =  
    class
        inherit ScriptNameObjectBase
        interface IAlterable
        interface ICreatable
        interface IDroppable
        interface IRenamable
        interface IScriptable
    end
public final class MailAccount extends ScriptNameObjectBase implements IAlterable, ICreatable, IDroppable, IRenamable, IScriptable

주의

The MailAccount object provides programmatic access to the mail account in the SQL Server Database Mail subsystem. By using the MailAccount object, you can manage SQL Server Database Mail accounts. 

Thread Safety

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

스레드로부터의 안전성

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