MI_DestinationOptions_AddProxyCredentials函式 (mi.h)

新增認證以針對 Proxy 進行驗證。

語法

MI_INLINE MI_Result MI_DestinationOptions_AddProxyCredentials(
  [in, out] MI_DestinationOptions    *options,
  [in]      const MI_UserCredentials *credentials
);

參數

[in, out] options

目的地選項結構的指標。

[in] credentials

與目的地電腦通訊時所使用的認證。

傳回值

此函式會傳回MI_INLINE MI_Result。

備註

並非所有通訊協定傳輸都支援 Proxy 設定。 並非所有 Proxy 伺服器都支援所有驗證類型。 如果 Proxy 需要雙因素驗證,可以使用這兩組認證來呼叫此函式。

需求

   
最低支援的用戶端 Windows 8
最低支援的伺服器 Windows Server 2012
目標平台 Windows
標頭 mi.h
可轉散發套件 在 Windows Server 2008 R2 上Windows Management Framework 3.0 SP1、Windows 7 SP1 和 Windows Server 2008 SP2