MethodInstance Class
Enables reuse of method metadata with different default values for the parameters of the method.
Inheritance Hierarchy
System.Object
Microsoft.SharePoint.BusinessData.Administration.MetadataObject
Microsoft.SharePoint.BusinessData.Administration.AccessControlledMetadataObject
Microsoft.SharePoint.BusinessData.Administration.IndividuallySecurableMetadataObject
Microsoft.SharePoint.BusinessData.Administration.MethodInstance
Microsoft.SharePoint.BusinessData.Administration.Association
Namespace: Microsoft.SharePoint.BusinessData.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Class MethodInstance _
Inherits IndividuallySecurableMetadataObject
'Usage
Dim instance As MethodInstance
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public class MethodInstance : IndividuallySecurableMetadataObject
Remarks
Each MethodInstance object associates a unique set of default values with the parameters of a method.
Examples
Code Snippet: Create an External Content Type Using the Administration Object Model
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.