JAMS Developer Guide
Find Method (IBuildMenuWCF)


MVPSI.JAMS Namespace > IBuildMenuWCF Interface : Find Method
check ACL
Build a menu of the specified type and name.
Syntax
'Declaration
 
<System.ServiceModel.OperationContractAttribute()>
<System.ServiceModel.FaultContractAttribute(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=False)>
Function Find( _
   ByVal menuType As MenuType, _
   ByVal menuObjectId As System.Integer, _
   ByVal checkAccess As System.Boolean _
) As System.Threading.Tasks.Task(Of ICollection(Of MenuEntry))
'Usage
 
Dim instance As IBuildMenuWCF
Dim menuType As MenuType
Dim menuObjectId As System.Integer
Dim checkAccess As System.Boolean
Dim value As System.Threading.Tasks.Task(Of ICollection(Of MenuEntry))
 
value = instance.Find(menuType, menuObjectId, checkAccess)
[System.ServiceModel.OperationContract()]
[System.ServiceModel.FaultContract(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
System.Threading.Tasks.Task<ICollection<MenuEntry>> Find( 
   MenuType menuType,
   System.int menuObjectId,
   System.bool checkAccess
)

Parameters

menuType
The Menu Type.
menuObjectId
The Menu Name.
checkAccess
check ACL
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IBuildMenuWCF Interface
IBuildMenuWCF Members