Method class

Contains methods and properties that handle a Method object.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.BusinessData.Administration.MetadataObject
    Microsoft.SharePoint.BusinessData.Administration.AccessControlledMetadataObject
      Microsoft.SharePoint.BusinessData.Administration.IndividuallySecurableMetadataObject
        Microsoft.SharePoint.BusinessData.Administration.Method

Namespace:  Microsoft.SharePoint.BusinessData.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public NotInheritable Class Method _
    Inherits IndividuallySecurableMetadataObject
'Usage
Dim instance As Method
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public sealed class Method : IndividuallySecurableMetadataObject

Remarks

A Method is a back-end interaction such as a stored procedure, Web method, or query that the system knows how to perform. This is different from a MethodInstance, which is a realization of a Method in a form that the user expects.

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.

See also

Reference

Method members

Microsoft.SharePoint.BusinessData.Administration namespace