DataClass.Execute 方法 (MethodInstance, LobSystemInstance, ref Object[]) (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)
Overrides the arguments and executes a method instance on the business application.
命名空间: Microsoft.Office.Server.ApplicationRegistry.MetadataModel
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)
语法
声明
Public Overridable Function Execute ( _
methodInstanceToExecute As MethodInstance, _
lobSystemInstance As LobSystemInstance, _
ByRef overrideArgs As Object() _
) As Object
用法
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
)
参数
- methodInstanceToExecute
MethodInstance object to execute.
- lobSystemInstance
The LobSystemInstance object this entity belongs to.
- overrideArgs
Overridden arguments.
返回值
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.
备注
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.
另请参阅
参考
DataClass 类
DataClass 成员
Microsoft.Office.Server.ApplicationRegistry.MetadataModel 命名空间