The ISmsClient2::GetProxy method, in Configuration Manager, gets proxy information about a URL. If the information is not cached, then detection is initiated.

[IDL]
HRESULT GetProxy(
	BSTR bstrProtocol,
	BSTR* pbstrProxy,
	BSTR* pbstrProxyBypass,
	BOOL* pbAuthFlag,
	BSTR* pbstrAccount,
	BSTR* pbstrPassword
);

Parameters

bstrProtocol


Data type: BSTRQualifiers: [in]URL for which to retrieve proxy information.
pbstrProxy


Data type: BSTRQualifiers: [out]Pointer to proxy information.
pbstrProxyBypass


Data type: BSTRQualifiers: [out]Pointer to bypass proxy information.
pbAuthFlag


Data type: BOOLQualifiers: [out]Pointer to true if authentication is required.
pbstrAccount


Data type: BSTRQualifiers: [out]Pointer to the account to authenticate to the proxy.
pbstrPassword


Data type: BSTRQualifiers: [out]Pointer to the 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

Development Requirements

See Also


Send comments about this topic to Microsoft.