IWSManConnectionOptions::put_Password method (wsmandisp.h)

Sets the password of a local or a domain account on the remote computer. For more information, see Authentication for Remote Connections.

This property is write-only.

Syntax

HRESULT put_Password(
  BSTR password
);

Parameters

password

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header wsmandisp.h
Library WSManDisp.tlb
DLL WSMAuto.dll

See also

ConnectionOptions.Password

IWSManConnectionOptions