DataClass.Execute, méthode (MethodInstance, LobSystemInstance, ref Object[]) (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)
Overrides the arguments and executes a method instance on the business application.
Espace de noms : Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)
Syntaxe
'Déclaration
Public Overridable Function Execute ( _
methodInstanceToExecute As MethodInstance, _
lobSystemInstance As LobSystemInstance, _
ByRef overrideArgs As Object() _
) As Object
'Utilisation
Dim instance As DataClass
Dim methodInstanceToExecute As MethodInstance
Dim lobSystemInstance As LobSystemInstance
Dim overrideArgs As Object()
Dim returnValue As Object
returnValue = instance.Execute(methodInstanceToExecute, lobSystemInstance, overrideArgs)
public virtual Object Execute (
MethodInstance methodInstanceToExecute,
LobSystemInstance lobSystemInstance,
ref Object[] overrideArgs
)
Paramètres
- methodInstanceToExecute
MethodInstance object to execute.
- lobSystemInstance
The LobSystemInstance object this entity belongs to.
- overrideArgs
Overridden arguments.
Valeur de retour
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.
Remarques
The arguments consist of objects built up from the default values specified in the metadata, with some default values overridden by Filter values that may have been set by the User or the System (see SystemFilters) and Identifier values that may have been set by the Business Data Catalog.
It also contains a related collection of business logic in the form of Methods.
Voir aussi
Référence
DataClass, classe
Membres DataClass
Microsoft.Office.Server.ApplicationRegistry.MetadataModel, espace de noms