IWSManConnectionOptionsEx2::P roxyAuthenticationUseBasic 方法 (wsmandisp.h)

返回在 IWSManConnectionOptionsEx2::SetProxy 方法的 authenticationMechanism 参数中使用的代理身份验证标志 WSManFlagProxyAuthenticationUseBasic 的值。

语法

HRESULT ProxyAuthenticationUseBasic(
  [out, retval] long *value
);

参数

[out, retval] value

指定常量的值。

返回值

如果该方法成功,则返回 S_OK。 否则,将返回 HRESULT 错误代码。

要求

要求
最低受支持的客户端 Windows 7
最低受支持的服务器 Windows Server 2008 R2
目标平台 Windows
标头 wsmandisp.h
可再发行组件 使用 SP2 的 Windows Server 2008 和 Sp2 的 Windows Vista 上的Windows Management Framework

另请参阅

IWSManConnectionOptionsEx2