SPUtility.GetDefaultCompatibilityLevel method
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetDefaultCompatibilityLevel ( _
webApp As SPWebApplication, _
siteSubscription As SPSiteSubscription _
) As Integer
'Usage
Dim webApp As SPWebApplication
Dim siteSubscription As SPSiteSubscription
Dim returnValue As Integer
returnValue = SPUtility.GetDefaultCompatibilityLevel(webApp, _
siteSubscription)
public static int GetDefaultCompatibilityLevel(
SPWebApplication webApp,
SPSiteSubscription siteSubscription
)
Parameters
- webApp
Type: Microsoft.SharePoint.Administration.SPWebApplication
- siteSubscription
Type: Microsoft.SharePoint.SPSiteSubscription
Return value
Type: System.Int32