Click or drag to resize
OSIsoft, LLC

PICollectiveAllowWriteValues Property

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: 2.10.8.440
Syntax
public bool AllowWriteValues { get; }

Property Value

Type: Boolean
If , 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.
Important note Important
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.
Version Information

AFSDK

Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6, 2.5
See Also
Enabling Operational Intelligence