Click or drag to resize
LocationExtensionsHubAsync Method
Connect to the Qlik Sense hub

Namespace: Qlik.Engine
Assembly: 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
)

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: TaskIHub
Returns 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