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
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)

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 3.5 SP1 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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Mobile 5.0, Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Mobile 2003 for Pocket PC, Windows CE 5.0
Version Information
.NET Framework and NET Compact Framework
Supported in 3.5
.NET Framework
Supported in 3.0
.NET Compact Framework and .Net Framework
Supported in 2.0

See Also

Reference

SqlCeRemoteDataAccess Class
SqlCeRemoteDataAccess Members
System.Data.SqlServerCe Namespace