Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the password for the account that is used to establish the connection.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Syntax
'Declaration
Public Sub SetPassword ( _
password As String _
)
'Usage
Dim instance As WmiConnectionInfo
Dim password As String
instance.SetPassword(password)
public void SetPassword(
string password
)
public:
void SetPassword(
String^ password
)
member SetPassword :
password:string -> unit
public function SetPassword(
password : String
)
Parameters
- password
Type: System.String
A String value that specifies the password.
Examples
Managing Services and Network Settings by Using WMI Provider
See Also
Reference
Microsoft.SqlServer.Management.Smo.Wmi Namespace