LocationExtensionsHubAsync Method |
Connect to the Qlik Sense hub
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax public static Task<IHub> HubAsync(
this ILocation location,
ISession session = null,
bool noVersionCheck = false
)
<ExtensionAttribute>
Public Shared Function HubAsync (
location As ILocation,
Optional session As ISession = Nothing,
Optional noVersionCheck As Boolean = false
) As Task(Of IHub)
Parameters
- location
- Type: Qlik.EngineILocation
- session (Optional)
- Type: Qlik.EngineISession
Defines a specific app session, that can be connected to. - noVersionCheck (Optional)
- Type: SystemBoolean
Disable the SDK / Engine version check
Return Value
Type:
TaskIHubReturns a task, the result contains the IHub
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ILocation. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also