Protected
This is a Boolean flag that indicates whether the field has a protected attribute. A value of 1 means the field has the protected attribute; otherwise, the value is 0. This property is read-only. The following example shows this property.
' Create a new PS object associated with connection A
dim myPSObj as new lsxECLPS("A")
' Refresh the list of fields
myPSObj.lsxECLFieldList.Refresh
if (myPSObj.lsxECLFieldList.Count) then
' Check if the first field in the list is protected
if (myPSObj.lsxECLFieldList(1).Protected) then
call field_protected
endif
endif