Método SetPassword
Sets the password for the account that is used to establish the connection.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (em Microsoft.SqlServer.SqlWmiManagement.dll)
Sintaxe
'Declaração
Public Sub SetPassword ( _
password As String _
)
'Uso
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
)
Parâmetros
- password
Tipo: System. . :: . .String
A String value that specifies the password.
Consulte também