次の方法で共有


ConnectionOptions.Password プロパティ

指定したユーザーのパスワードを取得または設定します。

Property Password As String
[C#]
string Password {set;}
[C++]
public: __property void set_Password(String*);
[JScript]
public function set Password(String);

プロパティ値

既定値は null です。ユーザー名も null の場合は、現在ログオンしているユーザーの資格情報を使用します。

解説

空の文字列 ("") は、有効な長さ 0 のパスワードを指定します。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

ConnectionOptions クラス | ConnectionOptions メンバ | System.Management 名前空間