ISmsClient2::SetProxy Method
Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2
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
Concepts
ISmsClient2 Client COM Automation Interface
Configuration Manager Client Configuration