SqlMail.Accounts 속성

Represents a collection of MailAccount objects. Each MailAccount object represents a SQL Server Database Mail account.

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

구문

‘선언
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(MailAccount))> _
Public ReadOnly Property Accounts As MailAccountCollection 
    Get
‘사용 방법
Dim instance As SqlMail 
Dim value As MailAccountCollection 

value = instance.Accounts
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(MailAccount))]
public MailAccountCollection Accounts { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(MailAccount))]
public:
property MailAccountCollection^ Accounts {
    MailAccountCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(MailAccount))>]
member Accounts : MailAccountCollection
function get Accounts () : MailAccountCollection

속성 값

유형: Microsoft.SqlServer.Management.Smo.Mail.MailAccountCollection
A MailAccountCollection that represents the mail accounts defined on the SQL Server Database Mail subsystem.

데이터베이스 메일 사용

참고 항목

참조

SqlMail 클래스

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

관련 자료

데이터베이스 메일