_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

Return Value

Type: System.Int32
Integer

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Excel Namespace