SPFolderHierarchy.GetSubFolders Method (String)

Gets the subfolder of the folder indicated by the URL.

Namespace:  Microsoft.Office.Server.Utilities
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Function GetSubFolders ( _
    strFolderUrl As String _
) As SPFolderHierarchy
'Usage
Dim instance As SPFolderHierarchy
Dim strFolderUrl As String
Dim returnValue As SPFolderHierarchy

returnValue = instance.GetSubFolders(strFolderUrl)
public SPFolderHierarchy GetSubFolders(
    string strFolderUrl
)

Parameters

  • strFolderUrl
    Type: System.String
    The server-relative folder URL.

Return Value

Type: Microsoft.Office.Server.Utilities.SPFolderHierarchy
Returns SPFolderHierarchy.

Remarks

Gets only the immediate subfolders (that is, it is not recursive)

See Also

Reference

SPFolderHierarchy Class

SPFolderHierarchy Members

GetSubFolders Overload

Microsoft.Office.Server.Utilities Namespace