Share via


SysContextMenu.verifyDatasource Method [AX 2012]

Verifies that the first node in the context menu is among the set of the valid types.

Syntax

protected int verifyDatasource()

Run On

Client

Return Value

Type: int
1 if the first node is among the valid node types; otherwise 0.

Remarks

This method verifies that the first node in the context menu is one of the following types:

  • Form data source

  • Query data source

  • System table

  • Table collection

See Also

Reference

SysContextMenu Class