_Application.SharePointVersion Method
Returns the version number of SharePoint Foundation instances running at site for the specified URL.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function SharePointVersion ( _
bstrUrl As String _
) As Integer
'Usage
Dim instance As _Application
Dim bstrUrl As String
Dim returnValue As Integer
returnValue = instance.SharePointVersion(bstrUrl)
int SharePointVersion(
string bstrUrl
)
Parameters
bstrUrl
Type: System.StringThe URL of site to check.
Return Value
Type: System.Int32
Integer