Share via


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