Condividi tramite


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