SqlCeReplication.HostName Property

This type has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses any member of this type throws a MethodAccessException.


Gets or sets the host name used for the device when connecting to the Publisher.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)


Public Property HostName As String
Dim instance As SqlCeReplication
Dim value As String

value = instance.HostName

instance.HostName = value
public string HostName { get; set; }
property String^ HostName {
    String^ get ();
    void set (String^ value);
member HostName : string with get, set
function get HostName () : String
function set HostName (value : String)

Property Value

Type: System.String
The host name for the device. The default is no host name.

See Also


SqlCeReplication Class

System.Data.SqlServerCe Namespace