Share via


WmiConnectionInfo.SetPassword(String) Method

Definition

Sets the password for the account that is used to establish the connection.

public:
 void SetPassword(System::String ^ password);
public void SetPassword (string password);
member this.SetPassword : string -> unit
Public Sub SetPassword (password As String)

Parameters

password
String

A String value that specifies the password.

Examples

Managing Services and Network Settings by Using WMI Provider

Applies to