SqlCeRemoteDataAccess.InternetProxyServer Property

Specifies the proxy server to use when accessing the HTTP resource specified in the InternetUrl property.

Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in system.data.sqlserverce.dll)

Syntax

'Declaration
Public Property InternetProxyServer As String
'Usage
Dim instance As SqlCeRemoteDataAccess
Dim value As String

value = instance.InternetProxyServer

instance.InternetProxyServer = value
public string InternetProxyServer { get; set; }
public:
property String^ InternetProxyServer {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_InternetProxyServer ()

/** @property */
public void set_InternetProxyServer (String value)
public function get InternetProxyServer () : String

public function set InternetProxyServer (value : String)
Not applicable.

Property Value

The proxy server name (or IP address) and the port number (ProxyServerName:Port) used when accessing the specified HTTP resource.

Remarks

Both the name (or IP address) of the proxy computer and the port number must be specified using the following format:

ProxyServerName:Port

If SQL Server Compact Edition Relay is properly configured on a desktop for serial, USB, or IR synchronization, the InternetProxyServer property must be set to "ppp_peer:nn" where "nn" is a specified client port number.

If the InternetProxyServer property is not set or is empty, no proxy server is used.

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

.NET Compact Framework

Supported in: 2.0, 1.0

See Also

Reference

SqlCeRemoteDataAccess Class
SqlCeRemoteDataAccess Members
System.Data.SqlServerCe Namespace