The ISmsMessage4::SetProxy method, in Configuration Manager, sets the proxy to use for communication.

[IDL]
HRESULT SetProxy(
	LPCWSTR szProxyName,
	LPCWSTR szUserName,
	LPCWSTR szPassword
);

Parameters

szProxyName


Data type: LPCWSTRQualifiers: [in]Null-terminated string specifying the proxy name.
szUserName


Data type: LPCWSTRQualifiers: [in]Null-terminated string specifying the user name. Set this parameter to null for no user name.
szPassword


Data type: LPCWSTRQualifiers: [in]Null-terminated string specifying the password. Set this parameter to null for no password.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following:

S_OK


The method succeeded.

Remarks

This method is applicable to native security mode only when communicating over the Internet.

This method is for use with HTTP communication only.

Requirements

See Also

Other Resources

ISmsMessage4 Interface


Send comments about this topic to Microsoft.