ServerSettings.IsSharePointOnline method
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Shared Function IsSharePointOnline ( _
context As ClientRuntimeContext _
) As ClientResult(Of Boolean)
'Usage
Dim context As ClientRuntimeContext
Dim returnValue As ClientResult(Of Boolean)
returnValue = ServerSettings.IsSharePointOnline(context)
public static ClientResult<bool> IsSharePointOnline(
ClientRuntimeContext context
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
Return value
Type: Microsoft.SharePoint.Client.ClientResult<Boolean>