Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Session Dim nodesToWrite As IList(Of WriteValue) Dim settings As RequestSettings Dim value As List(Of StatusCode) value = instance.WriteAttributes(nodesToWrite, settings) |
C# | |
---|---|
public List<StatusCode> WriteAttributes( IList<WriteValue> nodesToWrite, RequestSettings settings ) |
Parameters
- nodesToWrite
- List of nodes and attributes to write.
- settings
- The general settings for the request. If null, the default settings from the property #DefaultRequestSettings are used.
Return Value
A list of StatusCodes that indicate for each node whether the write operation has been successful.
The Write Service is used to write one or more attributes of one
or more nodes. For the Value Attribute the Write rights are indicated
by the AccessLevel and UserAccessLevel Attribute of the Variable.
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x