Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The GetFolder method of the SPWeb class returns the folder object located at the specified URL.
Parameters
strUrl A string that contains the URL for the folder.
Return Value
A Microsoft.SharePoint.SPFolder object that represents the folder.
Remarks
The user must have the Browse Directories right to run code that uses the GetFolder method.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security