DataClass.Execute 方法 (MethodInstance, LobSystemInstance) (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)

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 _
) As Object
用法
Dim instance As DataClass
Dim methodInstanceToExecute As MethodInstance
Dim lobSystemInstance As LobSystemInstance
Dim returnValue As Object

returnValue = instance.Execute(methodInstanceToExecute, lobSystemInstance)
public virtual Object Execute (
    MethodInstance methodInstanceToExecute,
    LobSystemInstance lobSystemInstance
)

参数

返回值

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.

另请参阅

参考

DataClass 类
DataClass 成员
Microsoft.Office.Server.ApplicationRegistry.MetadataModel 命名空间