DataClass.Execute Method (MethodInstance, LobSystemInstance)
NOTE: This API is now obsolete.
Executes a method instance on the business application.
Namespace: Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", _
False)> _
Public Overridable Function Execute ( _
methodInstanceToExecute As MethodInstance, _
lobSystemInstance As LobSystemInstance _
) As Object
'Usage
Dim instance As DataClass
Dim methodInstanceToExecute As MethodInstance
Dim lobSystemInstance As LobSystemInstance
Dim returnValue As Object
returnValue = instance.Execute(methodInstanceToExecute, _
lobSystemInstance)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",
false)]
public virtual Object Execute(
MethodInstance methodInstanceToExecute,
LobSystemInstance lobSystemInstance
)
Parameters
methodInstanceToExecute
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.MethodInstanceMethodInstance object to execute.
lobSystemInstance
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.LobSystemInstanceThe LobSystemInstance object this entity belongs to.
Return Value
Type: System.Object
An object containing the entity instances returned by the method instance. Sometimes a scalar value may also be returned if the Method Instance type is Scalar.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace