Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ConnectionOptions.Password Property

Gets or sets the password for the specified user.

[Visual Basic]
Property Password As String
string Password {set;}
public: __property void set_Password(String*);
public function set Password(String);

Property Value

The default value is null. If the user name is also null, the credentials used will be those of the currently logged-on user.


A blank string ("") specifies a valid zero-length password.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

ConnectionOptions Class | ConnectionOptions Members | System.Management Namespace

© 2015 Microsoft