'Declaration<JetBrains.Annotations.ItemNotNullAttribute()> <JetBrains.Annotations.MustUseReturnValueAttribute()> <JetBrains.Annotations.NotNullAttribute()> Function BrowseServers( _ ByVal location As String, _ ByVal technologies As OpcTechnologies _ ) As ServerElementCollection
'UsageDim instance As IEasyDAClient Dim location As String Dim technologies As OpcTechnologies Dim value As ServerElementCollection value = instance.BrowseServers(location, technologies)
[JetBrains.Annotations.ItemNotNull()] [JetBrains.Annotations.MustUseReturnValue()] [JetBrains.Annotations.NotNull()] ServerElementCollection BrowseServers( string location, OpcTechnologies technologies )
[JetBrains.Annotations.ItemNotNull()] [JetBrains.Annotations.MustUseReturnValue()] [JetBrains.Annotations.NotNull()] ServerElementCollection^ BrowseServers( String^ location, OpcTechnologies technologies )
Parameters
- location
- Name of the machine. Determines the computer to browse for OPC servers. It may be an empty string, in which case the local computer will be browsed.
The value represents a UNC or DNS computer name. Any string can be passed to this parameter (i.e. will not cause System.ArgumentException), but not all values make sense and will work when an operation using them is attempted. IPv6 addresses are normally enclosed between '[' and ']'.
The value of this parameter cannot be
null(Nothingin Visual Basic). - technologies
- The OPC technologies to be used for server browsing.
Return Value
This method never returns null (Nothing in Visual Basic).
The individual elements of the returned value are never null (Nothing in Visual Basic).
This return value of this method should not be ignored.