LocationExtensionsAppsWithNameOrDefault Method |
Connect to a Qlik Sense app with the name, and return a list of apps.
If you connect to a server, you can have multiple apps with the same name. On desktop you can only have one app with a specific name.
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax public static IEnumerable<IAppIdentifier> AppsWithNameOrDefault(
this ILocation location,
string appName,
bool noVersionCheck = false
)
<ExtensionAttribute>
Public Shared Function AppsWithNameOrDefault (
location As ILocation,
appName As String,
Optional noVersionCheck As Boolean = false
) As IEnumerable(Of IAppIdentifier)
Parameters
- location
- Type: Qlik.EngineILocation
- appName
- Type: SystemString
Application name - noVersionCheck (Optional)
- Type: SystemBoolean
Disable the SDK / Engine version check
Return Value
Type:
IEnumerableIAppIdentifierAn IEnumerable of IAppIdentifiers or default if no app with that name found
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