SPUtility.GetDefaultCompatibilityLevel method
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
Public Shared Function GetDefaultCompatibilityLevel ( _
webApp As SPWebApplication, _
siteSubscription As SPSiteSubscription _
) As Integer
'Uso
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
)
Parâmetros
- webApp
Type: Microsoft.SharePoint.Administration.SPWebApplication
- siteSubscription
Type: Microsoft.SharePoint.SPSiteSubscription
Valor retornado
Type: System.Int32