Share via


DirectionType Enumeration

Specifies the direction in which the parameter is passed between the Business Data Catalog and the business application.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Public Enumeration DirectionType
'Usage
Dim instance As DirectionType
public enum DirectionType

Members

Member name Description
In The Business Data Catalog instantiates the parameter and passes it to the system.
Out The Business Data Catalog does nothing to this parameter. The system, may initialize it before returning it to the Business Data Catalog. This corresponds to the C# out keyword. The Business Data Catalog will marshal it back to the client if this Parameter is defined as the ReturnParameter in the MethodInstance being executed.
InOut System instantiates the parameter and passes it to the Business Data Catalog (corresponds to the Microsoft Visual C# ref keyword). The backend uses the parameter and overwrites it with a new value that the Business Data Catalog will marshal back, as long as this Parameter is the 'ReturnParameter' for the MethodInstance that is being executed.
Return The system initializes the parameter and passes it to the Business Data Catalog as the return value of a method.

See Also

Reference

Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace