IInstance.Execute 方法 (MethodInstance, LobSystemInstance, ref Object[]) (Microsoft.Office.Server.ApplicationRegistry.Runtime)

Overrides some or all of the arguments in the back-end method and executes it in the back-end application.

命名空间: Microsoft.Office.Server.ApplicationRegistry.Runtime
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)

语法

声明
Function Execute ( _
    methodToExecute As MethodInstance, _
    lobSystemInstance As LobSystemInstance, _
    ByRef overrideArgs As Object() _
) As Object
用法
Dim instance As IInstance
Dim methodToExecute As MethodInstance
Dim lobSystemInstance As LobSystemInstance
Dim overrideArgs As Object()
Dim returnValue As Object

returnValue = instance.Execute(methodToExecute, lobSystemInstance, overrideArgs)
Object Execute (
    MethodInstance methodToExecute,
    LobSystemInstance lobSystemInstance,
    ref Object[] overrideArgs
)

参数

  • methodToExecute
    The MethodInstance object to execute on the entity instance.
  • lobSystemInstance
    The LobSystemInstance object that this entity belongs to.
  • overrideArgs
    An array of objects containing the arguments to override before executing the method.

返回值

An object that represents the entity instances returned by the back-end method.

另请参阅

参考

IInstance 接口
IInstance 成员
Microsoft.Office.Server.ApplicationRegistry.Runtime 命名空间