The ISmsClient2::SetProxy method, in Configuration Manager, sets proxy information for a URL.
[IDL] HRESULT SetProxy( BSTR bstrProtocol, BSTR bstrProxy, BSTR bstrProxyBypass, BOOL bAuthFlag, BSTR bstrDomain, BSTR bstrAccount, BSTR bstrPassword ); |
Parameters
- bstrProtocol
- Data type: BSTRQualifiers: [in]URL for which to retrieve proxy information.
- bstrProxy
- Data type: BSTRQualifiers: [in]Proxy information.
- bstrProxyBypass
- Data type: BSTRQualifiers: [in]Bypass proxy information.
- bAuthFlag
- Data type: BOOLQualifiers: [in]true if authentication is required.
- bstrDomain
- Data type: BSTRQualifiers: [in]The domain for the proxy.
- bstrAccount
- Data type: BSTRQualifiers: [in]Account to authenticate to the proxy.
- bstrPassword
- Data type: BSTRQualifiers: [in]Account password.
Return Value
An HRESULT code. Possible values include, but are not limited to, the following:
- S_OK
- The method succeeded.
Requirements
smsclient.dll
Runtime Requirements
For more information, see Configuration Manager Client Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Client Development Requirements.
See Also
Reference
ISmsClient2 Client COM Automation InterfaceOther Resources
Configuration Manager Client ConfigurationSend comments about this topic to Microsoft.