Click or drag to resize
OSIsoft, LLC

PIDatabaseSecurities Class

The PIDatabaseSecurities collection represents the available PIDatabaseSecurity objects on a particular PIServer.

Inheritance Hierarchy
SystemObject
  OSIsoft.AF.PIPIDatabaseSecurities

Namespace:  OSIsoft.AF.PI
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.6.195
Syntax
public sealed class PIDatabaseSecurities : IList<PIDatabaseSecurity>, 
	ICollection<PIDatabaseSecurity>, IEnumerable<PIDatabaseSecurity>, IEnumerable, 
	IList, ICollection

The PIDatabaseSecurities type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of items actually contained in the collection.
Public propertyItemInt32
Gets or sets the item at the specified index.
Public propertyItemString
Returns the specified object from the collection by name.
Public propertyServer
The PIServer for this PIDatabaseSecurities collection.
Top
Methods
  NameDescription
Public methodContains(String)
This method determines whether the collection contains a specific item referenced by name.
Public methodContains(PIDatabaseSecurity)
This method determines whether the collection contains a specific item.
Public methodCopyTo
Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the entire collection.
Public methodRefresh
Refresh the collection by loading from the PIServer.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
Remarks
This is the collection of available PIDatabaseSecurity objects on a particular PIServer. The contained PIDatabaseSecurity objects control accesses to most PI Data Archive resources.
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
See Also
Enabling Operational Intelligence