MailServer.SetAccount メソッド (String, String)

メール サーバー アカウントを設定します。

名前空間:  Microsoft.SqlServer.Management.Smo.Mail
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public Sub SetAccount ( _
    userName As String, _
    password As String _
)
'使用
Dim instance As MailServer 
Dim userName As String 
Dim password As String

instance.SetAccount(userName, password)
public void SetAccount(
    string userName,
    string password
)
public:
void SetAccount(
    String^ userName, 
    String^ password
)
member SetAccount : 
        userName:string * 
        password:string -> unit
public function SetAccount(
    userName : String, 
    password : String
)

パラメーター

  • userName
    型: System.String
    ユーザー名を表す文字列値です。

関連項目

参照

MailServer クラス

SetAccount オーバーロード

Microsoft.SqlServer.Management.Smo.Mail 名前空間