OPC Studio User's Guide and Reference
Location Property (ServerElement)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc Namespace > ServerElement Class : Location Property
The server's location.
Syntax
'Declaration
 
<ColumnDisplayAttribute(2)>
<DefaultValueAttribute("")>
<DisplayAttribute(AutoGenerateField=False, ShortName="Location")>
<NotNullAttribute()>
<ValueDomainAttribute(OpcLabs.BaseLib.ValueDomains.UncOrDnsComputerNameValueDomain)>
Public Property Location As String
'Usage
 
Dim instance As ServerElement
Dim value As String
 
instance.Location = value
 
value = instance.Location
[ColumnDisplay(2)]
[DefaultValue("")]
[Display(AutoGenerateField=false, ShortName="Location")]
[NotNull()]
[ValueDomain(OpcLabs.BaseLib.ValueDomains.UncOrDnsComputerNameValueDomain)]
public string Location {get; set;}
[ColumnDisplay(2)]
[DefaultValue("")]
[Display(AutoGenerateField=false, ShortName="Location")]
[NotNull()]
[ValueDomain(OpcLabs.BaseLib.ValueDomains.UncOrDnsComputerNameValueDomain)]
public:
property String^ Location {
   String^ get();
   void set (    String^ value);
}
Remarks
Corresponds to the host or machine name.
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