Share via


SPMobileUtility.GetAppRootDirName method (SPWeb)

NOTE: This API is now obsolete.

Gets the Web-relative mobile application root directory path.

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPMobileUtility.GetAppRootDirName() instead.")> _
Public Shared Function GetAppRootDirName ( _
    web As SPWeb _
) As String
'Usage
Dim web As SPWeb
Dim returnValue As String

returnValue = SPMobileUtility.GetAppRootDirName(web)
[ObsoleteAttribute("Use SPMobileUtility.GetAppRootDirName() instead.")]
public static string GetAppRootDirName(
    SPWeb web
)

Parameters

Return value

Type: System.String
A string that contains the path of the application root directory.

See also

Reference

SPMobileUtility class

SPMobileUtility members

GetAppRootDirName overload

Microsoft.SharePoint.Utilities namespace