Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPPersistedDependencyCollection<T> class

Represents a collection of persisted objects that depend on a common object.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPPersistedDependencyCollection<T> : SPPersistedObjectCollection<T>
where T : SPPersistedObject

Type parameters

T

Use the SPPersistedDependencyCollection<T> constructor to return a collection of persisted objects that depend on a specified object.

Use an indexer to return a single persisted object from the collection. For example, if the collection is assigned to a variable named myPersistedDependencies, use myPersistedDependencies[index] in C#, or myPersistedDependencies(index) in Visual Basic, where index is either the name or the GUID that identifies the persisted object in the collection.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.