OPC Studio User's Guide and Reference
Host Property (ResourceDescriptor)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace > ResourceDescriptor Class : Host Property
The Domain Name System (DNS) host name or IP address of a server.
Syntax
'Declaration
 
<DefaultValueAttribute("")>
<IgnoreDataMemberAttribute()>
<ValueDomainAttribute(OpcLabs.BaseLib.Networking.ValueDomains.DnsComputerNameValueDomain)>
<XmlIgnoreAttribute()>
Public Property Host As String
'Usage
 
Dim instance As ResourceDescriptor
Dim value As String
 
instance.Host = value
 
value = instance.Host
[DefaultValue("")]
[IgnoreDataMember()]
[ValueDomain(OpcLabs.BaseLib.Networking.ValueDomains.DnsComputerNameValueDomain)]
[XmlIgnore()]
public string Host {get; set;}
[DefaultValue("")]
[IgnoreDataMember()]
[ValueDomain(OpcLabs.BaseLib.Networking.ValueDomains.DnsComputerNameValueDomain)]
[XmlIgnore()]
public:
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