MethodInstanceCollection.Create Method (String, Boolean, TypeDescriptor, MethodInstanceType, Method)
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, _
method As Method _
) As MethodInstance
'Usage
Dim instance As MethodInstanceCollection
Dim name As String
Dim isCached As Boolean
Dim returnTypeDescriptor As TypeDescriptor
Dim type As MethodInstanceType
Dim method As Method
Dim returnValue As MethodInstance
returnValue = instance.Create(name, isCached, _
returnTypeDescriptor, type, method)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",
false)]
public MethodInstance Create(
string name,
bool isCached,
TypeDescriptor returnTypeDescriptor,
MethodInstanceType type,
Method method
)
Parameters
- name
Type: System.String
- isCached
Type: System.Boolean
- returnTypeDescriptor
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.TypeDescriptor
Return Value
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.MethodInstance
See Also
Reference
MethodInstanceCollection Class
MethodInstanceCollection Members
Microsoft.Office.Server.ApplicationRegistry.Administration Namespace