다음을 통해 공유


SPPolicy.SPPolicyRoleBindingCollection Members

Include Protected Members
Include Inherited Members

Represents the collection of policy roles through which each user or group is bound to a policy.

The SPPolicy.SPPolicyRoleBindingCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of policy roles in the binding. (Overrides SPBaseCollection.Count.)
Public property Item[Int32] Gets the policy role at the specified index in the collection.
Public property Item[SPPolicyRole] Gets the policy role for the specified policy role.
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)

Top

Methods

  Name Description
Public method Add Adds the specified policy role to the binding collection.
Public method AddById Adds the policy role with the specified GUID to the binding collection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator (Inherited from SPBaseCollection.)
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.)
Public method GetTypedEnumerator<T> (Inherited from SPBaseCollection.)
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 Removes the specified policy role from the binding collection.
Public method RemoveAll Removes all policy role bindings from the policy.
Public method RemoveById Removes the specified policy role from the policy based on the specified GUID.
Public method ToString Returns a list of the policy roles that are bound to the containing policy. (Overrides Object.ToString().)
Protected method UpdateParent Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.SyncRoot (Inherited from SPBaseCollection.)

Top

See Also

Reference

SPPolicy.SPPolicyRoleBindingCollection Class

Microsoft.SharePoint.Administration Namespace