HostName Property

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 string HostName { get; set; }

Property Value

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