次の方法で共有


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

Return value

Type: System.Int32

See also

Reference

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace