MethodInstanceCollection Class

NOTE: This API is now obsolete.

Represents a collection of MethodInstance objects. Provides methods to create and enumerate MethodInstance objects.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.ApplicationRegistry.Administration.MethodInstanceCollection

Namespace:  Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",  _
    False)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class MethodInstanceCollection _
    Implements IEnumerable(Of MethodInstance), IEnumerable
'Usage
Dim instance As MethodInstanceCollection
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class MethodInstanceCollection : IEnumerable<MethodInstance>, 
    IEnumerable

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

MethodInstanceCollection Members

Microsoft.Office.Server.ApplicationRegistry.Administration Namespace