Click or drag to resize
LocationExtensionsAsDirectConnection Method (ILocation, String, String, String, String, Boolean)
Defining the location as a direct connection to Qlik Sense using a specific user, proxy session and proxy package

Namespace: Qlik.Engine
Assembly: Qlik.Engine (in Qlik.Engine.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax
public static void AsDirectConnection(
	this ILocation location,
	string userDirectory,
	string userId,
	string proxySessionId,
	string proxyPackageId,
	bool extendedSecurityEnvironment = false
)

Parameters

location
Type: Qlik.EngineILocation
Location object of the Qlik Sense instance
userDirectory
Type: SystemString
User directory name
userId
Type: SystemString
User id
proxySessionId
Type: SystemString
Id of proxy session
proxyPackageId
Type: SystemString
Id of proxy package
extendedSecurityEnvironment (Optional)
Type: SystemBoolean
Indicates if extendedSecurityEnvironment is enabled

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