OPC Studio User's Guide and Reference
HostName Property (_HostElement)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Network.ComTypes Namespace > _HostElement Interface : HostName Property
The name of the host.
Syntax
'Declaration
 
<NotNullAttribute()>
<ValueDomainAttribute(OpcLabs.BaseLib.Networking.ValueDomains.DnsComputerNameValueDomain)>
Property HostName As String
'Usage
 
Dim instance As _HostElement
Dim value As String
 
instance.HostName = value
 
value = instance.HostName
[NotNull()]
[ValueDomain(OpcLabs.BaseLib.Networking.ValueDomains.DnsComputerNameValueDomain)]
string HostName {get; set;}
[NotNull()]
[ValueDomain(OpcLabs.BaseLib.Networking.ValueDomains.DnsComputerNameValueDomain)]
property String^ HostName {
   String^ get();
   void set (    String^ value);
}
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