_Application.SharePointVersion(String) Method

Definition

Returns the version number of SharePoint Foundation instances running at site for the specified URL.

public:
 int SharePointVersion(System::String ^ bstrUrl);
public int SharePointVersion (string bstrUrl);
Public Function SharePointVersion (bstrUrl As String) As Integer

Parameters

bstrUrl
String

The URL of site to check.

Returns

Integer

Applies to