QuickOPC User's Guide and Reference
Host Property (ObjectDescriptor)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace > ObjectDescriptor Class : Host Property
The Domain Name System (DNS) host name or IP address of a server.
Syntax
'Declaration
 
<DebuggerBrowsableAttribute(DebuggerBrowsableState.Never)>
<DefaultValueAttribute("")>
<IgnoreDataMemberAttribute()>
<ValueDomainAttribute(OpcLabs.BaseLib.Networking.ValueDomains.DnsComputerNameValueDomain)>
<XmlIgnoreAttribute()>
Public Shadows Property Host As String
'Usage
 
Dim instance As ObjectDescriptor
Dim value As String
 
instance.Host = value
 
value = instance.Host
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[DefaultValue("")]
[IgnoreDataMember()]
[ValueDomain(OpcLabs.BaseLib.Networking.ValueDomains.DnsComputerNameValueDomain)]
[XmlIgnore()]
public new string Host {get; set;}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[DefaultValue("")]
[IgnoreDataMember()]
[ValueDomain(OpcLabs.BaseLib.Networking.ValueDomains.DnsComputerNameValueDomain)]
[XmlIgnore()]
public:
new property String^ Host {
   String^ get();
   void set (    String^ value);
}
Remarks
The Host property contains the fully qualified DNS host name or IP address of the server.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also