SPProcessIdentityCollection Class
Represents a collection of SPProcessIdentity objects.
System.Object
Microsoft.SharePoint.Administration.SPPersistedObjectCollection<SPProcessIdentity>
Microsoft.SharePoint.Administration.SPPersistedChildCollection<SPProcessIdentity>
Microsoft.SharePoint.Administration.SPProcessIdentityCollection
Microsoft.SharePoint.Administration.SPPersistedObjectCollection<SPProcessIdentity>
Microsoft.SharePoint.Administration.SPPersistedChildCollection<SPProcessIdentity>
Microsoft.SharePoint.Administration.SPProcessIdentityCollection
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Use the ProcessIdentity property to return the process identity of a Windows service. Use the SPProcessIdentityCollection constructor to return the collection of process identities for a service. To add a process identity to the collection, use the Add method of the SPPersistedChildCollection<T> class.
Use an indexer to return a single process identity from the collection. For example, if the collection is assigned to a variable named myProcessIdentities, use myProcessIdentities[index] in C#, or myProcessIdentities(index) in Visual Basic, where index is either the GUID or the name that identifies the process identity.