다음을 통해 공유


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
)

매개 변수

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