Share via


MethodInstanceCollection.Create Method (String, Boolean, TypeDescriptor, MethodInstanceType)

NOTE: This API is now obsolete.

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)> _
Public Function Create ( _
    name As String, _
    isCached As Boolean, _
    returnTypeDescriptor As TypeDescriptor, _
    type As MethodInstanceType _
) As MethodInstance
'Usage
Dim instance As MethodInstanceCollection
Dim name As String
Dim isCached As Boolean
Dim returnTypeDescriptor As TypeDescriptor
Dim type As MethodInstanceType
Dim returnValue As MethodInstance

returnValue = instance.Create(name, isCached, _
    returnTypeDescriptor, type)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
public MethodInstance Create(
    string name,
    bool isCached,
    TypeDescriptor returnTypeDescriptor,
    MethodInstanceType type
)

Parameters

Return Value

Type: Microsoft.Office.Server.ApplicationRegistry.Administration.MethodInstance

See Also

Reference

MethodInstanceCollection Class

MethodInstanceCollection Members

Create Overload

Microsoft.Office.Server.ApplicationRegistry.Administration Namespace