PICollective.AllowWriteValues Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Indicates whether values are allowed to be written to the currently active collective member.
Namespace: OSIsoft.AF.PI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public bool AllowWriteValues { get; }
Public ReadOnly Property AllowWriteValues As Boolean Get Dim instance As PICollective Dim value As Boolean value = instance.AllowWriteValues
public: property bool AllowWriteValues { bool get (); }
member AllowWriteValues : bool with get
Property Value
Type: BooleanIf , then values are allowed to be written to the currently active collective member. Otherwise, calls to write PI event data are not supported on this collective member.
Remarks
The PI Data Archive has a tuning parameter (Replication_EnableSDKWriteValues) which allows PI secondaries to be
read-only for SDK access. The value of this tuning parameter is exposed by this property.
When , writing values to a PICollectiveMember using methods such as
AFAttribute.SetValue Overload,
AFData.UpdateValue,
PIPoint.UpdateValue Overload, or
UpdateValues Overload will fail.
| A direct connection to a collective member (see Connect Overload or ConnectDirect Overload) will also allow data to be written to the collective member regardless of this property's setting. |