SPPolicyCollection Methods

Include Protected Members
Include Inherited Members

The SPPolicyCollection type exposes the following members.

Methods

  Name Description
Public method Add Creates a policy in the collection based on the specified user name and policy display name.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns an enumerator to iterate through the collection.
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Gets the serialized state of the object. (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization Called after the object has been deserialized from the file system cache or the database. (Inherited from SPAutoSerializingObject.)
Public method Remove(Int32) Removes the user or group from the collection based on the specified collection index.
Public method Remove(String) Removes the user or group from the collection based on the specified user or group name.
Public method ToString (Inherited from Object.)
Protected method UpdateParent Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.)

Top

See Also

Reference

SPPolicyCollection Class

Microsoft.SharePoint.Administration Namespace