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.

[SECURITY CRITICAL]

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)

Syntax

'Declaration
Public Property HostName As String
    Get
    Set
'Usage
Dim instance As SqlCeReplication
Dim value As String

value = instance.HostName

instance.HostName = value
public string HostName { get; set; }
public:
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

Reference

SqlCeReplication Class

System.Data.SqlServerCe Namespace