This documentation is archived and is not being maintained.

SPUtility.GetGenericSetupPath Method

Windows SharePoint Services 3

Returns the full local path for the specified subdirectory.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public static string GetGenericSetupPath(
	string strSubdir
)

Parameters

strSubdir
Type: System.String
A string that contains the Web site-relative URL for the subdirectory. For example, Lists/Announcements.

Return Value

Type: System.String
A string that contains the full local path. For example, C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Lists and C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Lists\Announcements.
Show: