FtpClientConnection.ServerPassword プロパティ

定義

ServerName プロパティで指定したサーバーのパスワードを設定します。 このプロパティは書き込み専用です。

public:
 property System::String ^ ServerPassword {  void set(System::String ^ value); };
public string ServerPassword { set; }
member this.ServerPassword : string
Public Property ServerPassword As String

プロパティ値

ServerName プロパティで指定したサーバーのパスワードです。

次のコード例では、パスワードを設定します。

Package pkg = new Package();  
FtpClientConnection ftp = null;  
Connections conns = pkg.Connections;  
ConnectionManager cm = conns.Add("FTP");  
cm.Properties["ServerPassword"].SetValue(cm, "thepassword");  
Dim pkg As Package =  New Package()   
Dim ftp As FtpClientConnection =  Nothing   
Dim conns As Connections =  pkg.Connections   
Dim cm As ConnectionManager =  conns.Add("FTP")   
cm.Properties("ServerPassword").SetValue(cm, "thepassword")  

適用対象