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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComTypes Namespace > _EndpointDescriptor Interface : Host Property
The Domain Name System (DNS) host name or IP address of a server.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<ValueDomainAttribute(OpcLabs.BaseLib.Networking.ValueDomains.DnsComputerNameValueDomain)>
Property Host As String
'Usage
 
Dim instance As _EndpointDescriptor
Dim value As String
 
instance.Host = value
 
value = instance.Host
[CanBeNull()]
[ValueDomain(OpcLabs.BaseLib.Networking.ValueDomains.DnsComputerNameValueDomain)]
string Host {get; set;}
[CanBeNull()]
[ValueDomain(OpcLabs.BaseLib.Networking.ValueDomains.DnsComputerNameValueDomain)]
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