다음을 통해 공유


MailProfile.AddAccount 메서드

Associates a mail account with the referenced mail profile.

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

구문

‘선언
Public Sub AddAccount ( _
    accountName As String, _
    sequenceNumber As Integer _
)
‘사용 방법
Dim instance As MailProfile 
Dim accountName As String 
Dim sequenceNumber As Integer

instance.AddAccount(accountName, sequenceNumber)
public void AddAccount(
    string accountName,
    int sequenceNumber
)
public:
void AddAccount(
    String^ accountName, 
    int sequenceNumber
)
member AddAccount : 
        accountName:string * 
        sequenceNumber:int -> unit
public function AddAccount(
    accountName : String, 
    sequenceNumber : int
)

매개 변수

  • accountName
    유형: System.String
    A String value that specifies the name of the mail account.
  • sequenceNumber
    유형: System.Int32
    An Int32 value that specifies the sequence number of the mail account for the referenced profile.

데이터베이스 메일 사용

참고 항목

참조

MailProfile 클래스

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

관련 자료

데이터베이스 메일