JAMS Developer Guide
FindFolderAndDescendants Method


MVPSI.JAMS Namespace > IFolderWCF Interface : FindFolderAndDescendants Method
Return a collection of folders starting at the folder specified and including all folder below that.
Syntax
'Declaration
 
<System.ServiceModel.OperationContractAttribute()>
<System.ServiceModel.FaultContractAttribute(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=False)>
Function FindFolderAndDescendants( _
   ByVal folderName As System.String _
) As System.Threading.Tasks.Task(Of ICollection(Of Folder))
'Usage
 
Dim instance As IFolderWCF
Dim folderName As System.String
Dim value As System.Threading.Tasks.Task(Of ICollection(Of Folder))
 
value = instance.FindFolderAndDescendants(folderName)
[System.ServiceModel.OperationContract()]
[System.ServiceModel.FaultContract(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
System.Threading.Tasks.Task<ICollection<Folder>> FindFolderAndDescendants( 
   System.string folderName
)

Parameters

folderName
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

IFolderWCF Interface
IFolderWCF Members