다음을 통해 공유


MailProfile.RemoveAccount 메서드

Removes the association between a mail account and the referenced mail profile.

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

구문

‘선언
Public Sub RemoveAccount ( _
    accountName As String _
)
‘사용 방법
Dim instance As MailProfile 
Dim accountName As String

instance.RemoveAccount(accountName)
public void RemoveAccount(
    string accountName
)
public:
void RemoveAccount(
    String^ accountName
)
member RemoveAccount : 
        accountName:string -> unit
public function RemoveAccount(
    accountName : String
)

매개 변수

  • accountName
    유형: System.String
    A String value that specifies the name of the mail account.

데이터베이스 메일 사용

참고 항목

참조

MailProfile 클래스

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

관련 자료

데이터베이스 메일