Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IsSetupPathVersioned method
Collapse the table of content
Expand the table of content

SPUtility.IsSetupPathVersioned method

SharePoint 2013

if strSubdir starts with "template\", but not "template\admin\" or "template\sql\", return true. else, return false.

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

public static bool IsSetupPathVersioned(
	string strSubdir
)

Parameters

strSubdir
Type: System.String

A string that contains a path relative to the local setup directory to check whether it's versioned. For example, "Template\Features". It cannot be null or empty string.

Return value

Type: System.Boolean
Show:
© 2015 Microsoft