Метод SetPassword
Sets the password for the account that is used to establish the connection.
Пространство имен: Microsoft.SqlServer.Management.Smo.Wmi
Сборка: Microsoft.SqlServer.SqlWmiManagement (в Microsoft.SqlServer.SqlWmiManagement.dll)
Синтаксис
'Декларация
Public Sub SetPassword ( _
password As String _
)
'Применение
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
)
Параметры
- password
Тип: System. . :: . .String
A String value that specifies the password.
См. также